Smart Host for specific domains | MDaemon Technologies, Ltd.

Smart Host for specific domains


  • Hello,

    I have a question: Is it possible to use Smart Host for only a specific domain? What I am trying to do is use a smart host for some email addresses. Because we are experiencing issues delivering emails to them, caused by cipher protocols and TLS 1.3 that we do not support yet (we are working on it).

    Can we use a specific port for smart host, like 2525, and then use Content Filter to force sending the emails through the smart host?

    Or the option "Send email directly first, and then to smart hosts if there are problems" will work?

    We are planning to use Stunnel for this.

    Thank you!



  • If you want to route messages addressed to certain domains via a smart host, I would suggest a custom remote queue. (Setup | Mail Queues/DSN | Custom Queues). You can set the host to connect to and the port.

    Then use the content filter to move the desired messages into the custom remote queue.  Something like if the X-MDaemon-Deliver-To header contains @remote.domain.com then move the message to custom queue.

    You can also customize the delivery schedule for the custom remote queue by going to Main | Remote Mail Delivery Schedule.

     

     


  • Thank you Arron

    That worked!

    Regards


  • Hi Arron,

    We are facing a new issue, it works fine when sending email routing the message to the smart host, the issue comes when on the email there are other recipients' addresses in the email, causing a relay error.

    571 We do not relay
    Creating delivery failure DSN...
    --- End DSN message creation
    <-- 554 no valid RCPT address specified

    Is there a way to fix it?

    Edit: We were using "If the TO HEADER" Instead of "X-Mdaemon-Deliver-To Header"

    We are going to test.

    Thank you!

     


  • Using the To header in your content filter rule instead of the X-MDaemon-Deliver-To header will cause the issue.  


Please login to reply this topic!