Package: ssmtp Version: 2.62-3,2.64-1 ssmtp does not replace the "From" with what is given by the configuration file. If I define "[email protected]" all mail for user-id beyond 1000 shall go to user "[email protected]". But instead I find all mail for users beyond 1000 going to "[email protected]" this clearly wrong. Here is my ssmtp.conf: [email protected] mailhub=mail.vr-web.de rewritedomain=vr-web.de FromLineOverride=NO UseTLS=yes UseSTARTTLS=yes AuthUser=xxx AuthPass=xxx AuthMethod=AUTH-PLAIN
Sending mail to "root" on localhost gives:
Delivered-To: [email protected]
Return-Path: <[email protected]>
Received: from mx0.vr-web.de
(vrwf103.vrweb.de [::ffff:192.168.27.6])
by loc.vr-web.de with esmtp;
Mon, 08 Feb 2010 13:30:32 +0100
id 00057D64.4B7003E8.0000205D
Received: from sen.tps
(dslb-084-056-101-235.pools.arcor-ip.net
[::ffff:84.56.101.235])
(QVVUSDogTE9HSU4gdHBzLCBUTFM6IFRMU3Y
L1NTTHYzLDI1NmJpdHMsQUVTMjU2LVNIQQ==)
by mx0.vr-web.de with esmtp;
Mon, 08 Feb 2010 13:30:56 +0100
id 0004FB1C.4B700400.00004118
Received: by sen.tps (sSMTP sendmail emulation);
Mon, 08 Feb 2010 13:30:28 +0100
From: "Charlie &" <[email protected]>
Date: Mon, 08 Feb 2010 13:30:28 +0100
To: [email protected]
Subject: test
test
I would expect the header to be:
Delivered-To: [email protected]
Return-Path: <[email protected]>
Received: from mx0.vr-web.de
(vrwf103.vrweb.de [::ffff:192.168.27.6])
by loc.vr-web.de with esmtp;
Mon, 08 Feb 2010 13:30:32 +0100
id 00057D64.4B7003E8.0000205D
Received: from sen.tps
(dslb-084-056-101-235.pools.arcor-ip.net
[::ffff:84.56.101.235])
(QVVUSDogTE9HSU4gdHBzLCBUTFM6IFRMU3Y
L1NTTHYzLDI1NmJpdHMsQUVTMjU2LVNIQQ==)
by mx0.vr-web.de with esmtp;
Mon, 08 Feb 2010 13:30:56 +0100
id 0004FB1C.4B700400.00004118
Received: by sen.tps (sSMTP sendmail emulation);
Mon, 08 Feb 2010 13:30:28 +0100
From: "Charlie &" <[email protected]>
Date: Mon, 08 Feb 2010 13:30:28 +0100
To: [email protected]
Subject: test
test
It is just some special configuration at my providers
site making the mail being send to me not to the real
"[email protected]". ssmtp failing to rewrite "To:"
correctly will, if not special precautions where done
mail had been gone to my providers "root"-address. Not
what was intended!
I suggest replacing "To:" correctly with what is
configured in the configuration file. I could find
this with ssmtp on
Debian GNU/Linux experimental, testing, stable
FreeBSD 5, 6, 7, 8, HEAD
Ubuntu 9.04, 9.10, 10.04
for me it looks like ssmtp is badly broken at the time
being!
--
Thomas
signature.asc
Description: OpenPGP digital signature

