On Jan 8, 2008, at 5:50 AM, Jerahmy Pocott wrote:
From the sendmail documentation:

"There are always users that need to be "exposed" -- that is,
their  internal site name should be displayed instead of the
masquerade name. Root is an example (which has been
"exposed" by default prior to 8.10)."

Is there actually any reason why root needs to be "exposed"?

The original reasoning was that if you had a network of machines in a domain, email generated from cron jobs producing output and things like the daily status report that is sent out would be readily distinguishable. If you masquerade to hide all of the machine names, it becomes mildly difficult to identify which machine is sending such email.

Root is set to an external address in aliases and it really
needs to be masqueraded in order to for it to get delivered,
but would that cause problems with anything?

The mail needs to be considered for local delivery for the alias or a .forward to send it to an external address.

Whether the From: header has been masqueraded or not is somewhat of an orthagonal issue, but you might find the comments in /usr/share/ sendmail/cf/README about allmasquerade and masquerade_entire_domain informative.

How do you stop sendmail from doing this, I don't see any
directive to NOT expose root, only options to expose other
addresses as well..  Perhaps there is a better way to send
system mailed logs to an external address that doesn't send
them from root?

You most probably want to make it so that root email from the set of machines is forwarded appropriately rather than disabling root from being exposed. But, if you still really want to do so, you'll either need to set up a custom domain rather than using generic.m4, or simply remove the line "C{E}root" from your sendmail.cf.

--
-Chuck

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to