Mail Routing Issues
Jason Burzenski
jburzenski at AMERICANHM.COM
Tue Sep 16 14:20:20 IST 2003
Hello All,
I apologize if this question is too off topic as it relates more to sendmail
than it does to MailScanner.
Im running MailScanner 4.22-5, sendmail 8.12.9, spamassassin 2.55 on RH 9.0.
My mailscanner server is setup on my lan and is connected to the internet
via NAT (ex.ter.nal.ip > 192.168.1.51). The server is configured to resolve
DNS from an internal dns server (192.168.1.2). The server is configured to
route mail for 3 domains, (a.com, b.com, c.com) from the internet to an
internal communigate server (192.168.1.13).
The internal DNS server is not setup with any MX information for a.com b.com
or c.com. My mailertable looks like:
a.com smtp:[192.168.1.13]
b.com smtp:[192.168.1.13]
c.com smtp:[192.168.1.13]
The [] should imply that MX records should be ignored for routing.
Everything works fine for weeks and weeks. Then one day, a DNS change is
made to b.com and now b.com is returning "canonical name = www.b.com" from
an MX query on the 192.168.1.2 server. Messages are still routing to
communigate but now they are being rewritten with a To: field =
username at www.b.com instead of username at b.com. Now communigate starts
bouncing messages because it cant find these users in the domain.
Why would sendmail re-write the To: field and how can I avoid this? I want
sendmail to route mail exactly as I say it should and not reference DNS for
the domains I have routing enabled for. What am I doing wrong?
Thanks,
Jason Burzenski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20030916/fcb79ef2/attachment.html
More information about the MailScanner
mailing list