Date: Sun, 6 Feb 2005 20:36:54 +1030 From: Ian Moore <no-spam@swiftdsl.com.au> To: freebsd-questions@freebsd.org Subject: Sendmail masquerading configuration Message-ID: <200502062037.02494.no-spam@swiftdsl.com.au>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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 root@myhost.foo.bar, I want it to be root@foo.bar 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCBexGPUlnmbKkJ6ARAhUuAJ9dS0Ep/ob0P4UtU3b+08dU9z7imACdEms7 A4pfddyBcI4jgYJSA/a5qYw= =1hI5 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502062037.02494.no-spam>
