Smarthost based on account
-
Hi, is there a way to send to a specific smart host the emails sent by an specific accout without having to create a second domain? I didn't find any appropriate content filter. I'd need emails sent from a given account to be sent to a spefic smtp server via ssl.
Thanks
Luca
-
You can do this by creating a custom remote queue that routes all mail in the queue to the smart host and then use a content filter rule to move messages from the desired user to the custom remote queue. Below are the steps.
- In Remote Administration go to Setup | Mail Queues/DSN | Custom Queues.
- Enter a queue name and a Host or IP.
- Select the Remote mail radio button
- Click Add
- Go to Security | Content Filter
- Click New
- Enter a rule name
- Click the "Local & Remote" Link and uncheck the box for Local queue.
- Click Save and Close
- Select "If the From Header contains"
- Click the contains link
- Enter the email address of the account in the "Check for this string field".
- Click Add
- Clcik Save and Close
- From the actions list choose Move the message to Custom Queue
- Click the "specify informaiton" link
- Select the custom Remote queue that you just created and then click the arrow to move it to the Selected Queues list
- Click Save and Close
- Click save and close again to create the rule.
-
Fantastic, thanks. Mdaemon never ceases to amaze me with its versatility