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
--nextPart6478555.NVT0AcOrnQ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 o= f=20 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=20 want it to be root@foo.bar instead. I need to do this because our "smart host" mail server (over which I have n= o=20 control) rejects mail from our domain if it has a hostname in it. Since my= =20 server is in a VPN, I forward root's mail to my own account on the 'smart=20 host' server to make it accessible from outside the VPN. I think that the masquerading settings have changed somewhat since I last d= id=20 this. I read http://www.sendmail.org/m4/masquerading.html, it suggests=20 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 &= =20 restart sendmail, but that doesn't work. I have commented out the C{E}root line so that doesn't override the Dm sett= ing=20 for root. Sorry this OT, I did try to find somewhere else to ask this question, but t= he=20 newsgroup listed on the sendmail site doesn't seem to exist (according to m= y=20 news reader) so I'm asking here instead. Cheers, =2D-=20 Ian GPG Key: http://home.swiftdsl.com.au/~imoore/no-spam.asc --nextPart6478555.NVT0AcOrnQ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCBexGPUlnmbKkJ6ARAhUuAJ9dS0Ep/ob0P4UtU3b+08dU9z7imACdEms7 A4pfddyBcI4jgYJSA/a5qYw= =1hI5 -----END PGP SIGNATURE----- --nextPart6478555.NVT0AcOrnQ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502062037.02494.no-spam>