Date: Thu, 18 Dec 2003 09:50:32 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: "Michael E. Mercer" <mmercer@nc.rr.com> Cc: FreeBSD questions <freebsd-questions@freebsd.org> Subject: Re: How do I have sendmail forward emails from root... Message-ID: <20031218095032.GA17098@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <1071699714.415.12.camel@dual.mmercer.com> References: <1071698821.415.8.camel@dual.mmercer.com> <Pine.OSX.4.58.0312171410590.3088@babelfish.local> <1071699714.415.12.camel@dual.mmercer.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--VS++wcV0S1rZb1Fb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 17, 2003 at 05:21:55PM -0500, Michael E. Mercer wrote: > In /etc/mail, I ran: > make cf maps aliases install stop start >=20 > after every change... >=20 > More info, now that I think of it. The mail server is getting the > emails, but kicks it back because > the the "From:" header has an unknown host. > root@dual.mmercer.com >=20 > How do I remedy this? 'root' is by default a member of class E in the sendmail config -- that's "Exposed users" or users who are exempt from masquerading. Emails from that clas of UID will have the FQDN of the sending host as the RHS of the e-mail address. The answer is to add the names of all of the hosts that your smart host handles mail for to /etc/mail/local-host-names (one per line). Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --VS++wcV0S1rZb1Fb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/4XhodtESqEQa7a0RAmKTAJ4ooT1kehF9qs/rBk4quRl/YnIiJgCeObtm ubhg37jjd/STtso1naP90kI= =6Yq6 -----END PGP SIGNATURE----- --VS++wcV0S1rZb1Fb--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031218095032.GA17098>