Hi, I'm hoping someone can help me with this. I want to make sendmail (on a 5.3-Release server) leave the host name out of the sender address when sending mail from that machine. I.E. mail from root currently has a sender address of [EMAIL PROTECTED], I want it to be [EMAIL PROTECTED] instead.
I need to do this because our "smart host" mail server (over which I have no control) rejects mail from our domain if it has a hostname in it. Since my server is in a VPN, I forward root's mail to my own account on the 'smart host' server to make it accessible from outside the VPN. I think that the masquerading settings have changed somewhat since I last did this. I read http://www.sendmail.org/m4/masquerading.html, it suggests MASQUERADE_AS(`host.domain') but when I tried that, it didn't work. I believe it used to be just a matter of adding Dmfoo.bar to sendmail.cf & restart sendmail, but that doesn't work. I have commented out the C{E}root line so that doesn't override the Dm setting for root. Sorry this OT, I did try to find somewhere else to ask this question, but the newsgroup listed on the sendmail site doesn't seem to exist (according to my news reader) so I'm asking here instead. Cheers, -- Ian GPG Key: http://home.swiftdsl.com.au/~imoore/no-spam.asc
pgp8N5V6qQPzd.pgp
Description: PGP signature