This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ASG 7.400 Multipath Rules, SMTP and Smarthosts

Hey everyone,

We've just implemented uplink balancing and multipath rules on our box. The two ISPs we are using currently do not allow outgoing SMTP traffic on port 25, except if it goes through their mail server. Can astaro be configured to use a smarthost for each connection? 

For example, if we send mail out on connection 1, it is sent to ISP1's smarthost. However, if that connection fails we would like mail to go out on the second internet connection. But this connection would not have a smarthost configured for ISP2 so the mail delivery would fail as ISP2 would block the smtp connection to ISP1's smarthost.

Does this make sense? Is there a solution that I have missed?

Thank you.


This thread was automatically locked due to age.
  • Not sure how well this would work, but...

    You can create a load balanced service, and add both smarthosts to it.
    I don't recommend doing this unless you use 7.4x and set it up to check that the hosts are up (look for '220' in the host response). Also, I'm not sure how well that is working; it didn't work very well in the betas for me.

    Then, you'd set the SMTP smarthost to the load balancer IP.

    Barry
  • The following is incorrect.  The right answer is given above by Barry.  I had confounded the SmartHost entry on the 'Advanced' tab with the 'Upstream hosts list' on the 'Relaying' tab.
    ------------------------------------------------

    Are you saying that it doesn't work if you add a second smarthost for ISP2?  I have just assumed, though I don't know, that the proxy would work its way through the list of smarthosts until it found one that would take the message.

    Still, if it's just your connection to ISP1 that goes down, does their smarthost just hold on to the email sent to you until you're back up?  Or do you have a second MX record with lower priority pointing at the public IP from ISP2 so that when smarthost1 won't accept the email, the sending mailserver knows to use your next MX record?

    Thanks - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • Where do I add a second smarthost?  I'm looking in Mail Security >> SMTP >> Advanced.

    It's not incoming mail that I'm worried about. We have a backup MX for that. We have users that will sometimes send out dozens of e-mails with 5+ MB attachments. We would like to balance the traffic so that when users are sending these large emails it doesn't bog down the rest of our in/out traffic.