[clug] DNS + CNAMES + sendmail...
a.janke at gmail.com
Wed Aug 5 07:13:47 MDT 2009
For reasons that are somewhat long I have inherited a situation like this...
bob.blix.com.au is a CNAME pointing to mary.blix.com.au
the MX record for bob.blix.com.au is mary.blix.com.au
mary.blix.com.au is a real machine with a real (outward facing and
bob.blix.com.au resolves and works fine as a web server.
Then comes my favourite friend sendmail...
I can use MASQUERADE_DOMAIN to make outgoing mail (From
user at mary.blix.com.au) appear to come from user at bob.blix.com.au but
incoming mail is somewhat more difficult as I think sendmail is
resolving bob.blix.com.au to mary.blix.com.au meaning the To: field
contains user at mary.blix.com.au which is the "wrong thing" .
So first question:
1. Should I just give up, dump the CNAME and change mary.blix.com.au
to bob.blix.com.au and go through a (sizeable) amount of pain making
2. How can I make sendmail rewrite the To: field to what I want?
(username at bob.blix.com.au)
(a.janke at gmail.com || http://a.janke.googlepages.com/)
Canberra->Australia +61 (402) 700 883
 Where of course wrong thing is defined as not what I want
More information about the linux