Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

So here is my situation. I have this 2 DNS (say a.org and b.org) with the same IP address (both A record) tied to this box. We have Google mail handing our a.org emails . I want b.org emails to forward to users at a.org emails . My sendmail is getting confused and is delivering all b.org emails locally instead of forwarding them to a.org (which is specified in the .forward) . What do I do from the sendmail side to force external delivery . Thanks Much

share|improve this question
    
You're seeing another instance of SMTP for multiple domains on virtual interfaces. –  mad_vs Feb 5 '11 at 7:54

1 Answer 1

  • add "FEATURE(`mailertable')" to sendmail.mc
  • run m4(make) to install new config, then restart sendmail
  • add to /etc/mail/mailertable ".b.org smtp:[aspmx.l.google.com]"
  • makemap hash /etc/mail/mailertable < /etc/mail/mailertable
  • test
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.