Smarthost based on account | MDaemon Technologies, Ltd.

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.

    1. In Remote Administration go to Setup | Mail Queues/DSN | Custom Queues. 
    2. Enter a queue name and a Host or IP.  
    3. Select the Remote mail radio button
    4. Click Add
    5. Go to Security | Content Filter 
    6. Click New
    7. Enter a rule name
    8. Click the "Local & Remote" Link and uncheck the box for Local queue.
    9. Click Save and Close
    10. Select "If the From Header contains"
    11. Click the contains link 
    12. Enter the email address of the account in the "Check for this string field".
    13. Click Add
    14. Clcik Save and Close
    15. From the actions list choose Move the message to Custom Queue
    16. Click the "specify informaiton" link 
    17. Select the custom Remote queue that you just created and then click the arrow to move it to the Selected Queues list
    18. Click Save and Close
    19. Click save and close again to create the rule.

  • Fantastic, thanks. Mdaemon never ceases to amaze me with its versatility


Please login to reply this topic!