Subject: Re: Mail-sender address
To: None <netbsd-users@netbsd.org>
From: None <ipt@scraemon.org>
List: netbsd-users
Date: 12/17/2004 14:11:19
On Fri, Dec 17, 2004 at 11:53:26AM +0100, Florian Stoehr wrote:
> Hi,
> 
> user: flo
> machine: of.login-solutions.local
> -> email: flo@of.login-solutions.local
> 
> /etc/mail/sendmail.cf configured to use a relay to send to internet.
> 
> Now what to configure that this machine will automatically send it's 
> messages (e.g. cron mails) with a "real" email address, thus always 
> overwriting the flo@of.login-solutions.local with flo@wolfnode.de ?

Check out the MASQUERADE_AS macro and its extensions.
-- 

Ian P. Thomas

Destiny is not a matter of chance, it is a matter of choice. It is not a thing 
to be waited for, it is a thing to be achieved.

	- William Jennings Bryan