OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: SIMPLE MASQUERADING

From: Wietse Venema (wietseporcupine.org)
Date: Sun Feb 03 2008 - 07:45:39 CST


Homer Wilson Smith:
>
> masquerade_domains = lightlink.com
> masquerade_exceptoins = root
>
> seems to fit the bill and duplicates the old sendmail
> quite nicely.
>
> I notice however that if I USE sendmail to send an e-mail as
> root, the exception is not honored in the LOGGING in /var/log/mail..
>
> sendmail homerlightlink.com < /root/.login
>
> is LOGGED in /var/log/mail as coming from rootlightlink.com,
>
> rather than rootadore2.lightlink.com, the mail however is
> delivered properly with the exception in place.

When reporting a problem, post "postconf -n" output
instead of two-line fragments.

        Wietse