sender name from /etc/passwd

2010-02-26 Thread Pavel Urban
Hello, I've tried to migrate some 90 servers from Sendmail to Postfix, trying to keep the behavior as similar as possible. They were all simple null clients, sending mail via relayhost only. After some time I've noticed that some servers are sending their daily logwatch outputs with From: "r...@n

Re: sender name from /etc/passwd

2010-02-26 Thread Wietse Venema
Pavel Urban: > Hello, > > I've tried to migrate some 90 servers from Sendmail to Postfix, trying > to keep the behavior as similar as possible. They were all simple null > clients, sending mail via relayhost only. After some time I've noticed > that some servers are sending their daily logwatch ou

Re: sender name from /etc/passwd

2010-02-26 Thread Pavel Urban
On 02/26/2010 01:25 PM, Wietse Venema wrote: > Pavel Urban: >> Hello, >> >> I've tried to migrate some 90 servers from Sendmail to Postfix, trying >> to keep the behavior as similar as possible. They were all simple null >> clients, sending mail via relayhost only. After some time I've noticed >> t

Re: sender name from /etc/passwd

2010-02-26 Thread Victor Duchovni
On Fri, Feb 26, 2010 at 02:20:06PM +0100, Pavel Urban wrote: > open(OUTFILE,"|$Config{'mailer'}") or die "Can't execute > $Config{'mailer'}: $!\n"; > print OUTFILE "To: $Config{'mailto'}\n"; > print OUTFILE "From: $Config{'mailfrom'}\n"; > print OUTFILE "Subject: Logwatch for $Config{'hostname'} (