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

SMTP hostnames with multiple Exchange Servers

I have 2 domains, each with an Exchange Server behind an ASG 220. I have set up SMTP profiles and each domain can send and receive email. However, one of them fails reverse DNS lookup. Both are getting the SMTP hostname from the advanced tab under SMTP. There does not appear to be a place to configure separate SMTP hostnames under the SMTP profiles.
Correct configuration?


This thread was automatically locked due to age.
  • I'm not sure what message you're getting when you conclude that it fails reverse DNS, but, for the one that fails, are you sure this can't be fixed by adding/correcting the appropriate record in your public DNS entries?

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • I don't see how that would help. One server is mail.domain1.com, the other is mail.domain2.com An SMTP test from the Internet shows that both domains are responding with whatever is on the advanced tab under SMTP on the Astaro. So, if I make the Astaro respond mail.domain1.com and I send as me@domain1.com I pass. But if I send as me@domain2.com, I fail. I tried changing transpanency settings to see if I could get the response directly from the mail server, but that did not seem to have any effect. I seems like this should be addressed in SMTP Profiles. If I change public DNS for domain2  to match domain1 then I fail the MX lookup test alltogether.
  • OK, I'm still unclear about the message you're getting, and the test you're running.

    I think you should have one RDNS record for what is the Hostname of the Astaro.  If that's mail.domains.com and you're at 65.75.85.95, then it should be "95.85.75.65.in-addr.arpa -> mail.domains.com".

    MX records for domain1.com and domain2.com should both point at mail.domains.com; Astaro SMTP profiles should handle the routing of mail to the correct server.

    Doesn't that make things work correctly?

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • The problem is not with inbound routing of email, that is working fine. The problem is when sending email, some receipient email servers perform a reverse dns lookup. On my ASG, I have the external interface at ip .xx1 with additional ip addresses assigned .xx2, .xx3, .xx4. The MX record for mail.domain1.com points to .xx1, the MX record for mail.domain2.com points to .xx4 (.xx2 is for OWA/ActiveSync and .xx3 is the ASG user portal) When I first set up the new domain it failed the reverse dns lookup from mstoolbox.com and a lot of our email was getting ndr's. The lookup returned whatever was on the Mail Security/SMTP/Advanced/SMTP Hostname field, which obviously could only be either domain1 or domain2. So I assumed the problem was in the ASG configuration. Upon testing now, both domains pass the mxtoolbox.com test (even though, clearly the 250 response line for domain1 shows a response from domain2 (i.e.; the SMTP Hostname from the ASG). I think the reason they are passing the test now has nothing to do with the ASG but with the fact that we had recently changed phone/Internet vendors and even though our authorized DNS record keeper (our web hoster) had created the correct MX records, our new phone/Internet provider had not created the required PTR record and our old phone/Internet provider had not purged thier DNS records. I fould this out from a different set of ndr's.

    Well, it's working now. Thank you for all of your help on so many challenges I have had with the ASG. My next chanllenge is to shut down one of the exchange servers and receive email for both domains on a single Exchange 2007 server. I'll probably be back.