How do I have sendmail forward emails from root...
Matthew Seaman
m.seaman at infracaninophile.co.uk
Thu Dec 18 01:51:31 PST 2003
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
>
> after every change...
>
> 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 at dual.mmercer.com
>
> 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
--
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031218/7456a66f/attachment.bin
More information about the freebsd-questions
mailing list