From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QDL40-0003g0-Fl for garchives@archives.gentoo.org; Fri, 22 Apr 2011 18:26:44 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA8421C06F; Fri, 22 Apr 2011 18:24:19 +0000 (UTC) Received: from chaos.fluxlabs.net (chaos.fluxlabs.net [75.126.159.146]) by pigeon.gentoo.org (Postfix) with ESMTP id BD88E1C06F for ; Fri, 22 Apr 2011 18:24:19 +0000 (UTC) Received: from 75-149-232-165-northgulf.hfc.comcastbusiness.net ([75.149.232.165] helo=[10.0.1.15]) by chaos.fluxlabs.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1QDKzz-0002Hm-8L for gentoo-user@lists.gentoo.org; Fri, 22 Apr 2011 13:22:35 -0500 Content-Type: text/plain; charset=us-ascii Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: [gentoo-user] ssmtp rewriting "From:" in emails... From: Jeremy McSpadden In-Reply-To: <4DB1C49E.5090906@gmail.com> Date: Fri, 22 Apr 2011 13:22:34 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <06CE87B4-A73C-42AD-9BF7-3CBD3AA50BA6@uberpenguin.net> References: <4DB1B5D4.7090209@gmail.com> <5AB798B7-DDA3-428B-8EA9-B6235B3A95D0@uberpenguin.net> <4DB1C49E.5090906@gmail.com> To: gentoo-user@lists.gentoo.org X-Mailer: Apple Mail (2.1084) X-FluxLabs-MailScanner-Information: Please contact the ISP for more information X-FluxLabs-MailScanner-ID: 1QDKzz-0002Hm-8L X-FluxLabs-MailScanner: Found to be clean X-FluxLabs-MailScanner-SpamCheck: X-FluxLabs-MailScanner-From: deface@uberpenguin.net X-Spam-Status: No X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - chaos.fluxlabs.net X-AntiAbuse: Original Domain - lists.gentoo.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - uberpenguin.net X-Source: X-Source-Args: X-Source-Dir: X-Archives-Salt: X-Archives-Hash: b7bd6d8aa36c60d64c3b970371ac6e21 What does your code look like? What application is sending the registration= emails? -- Jeremy McSpadden deface@uberpenguin.net On Apr 22, 2011, at 1:10 PM, Jarry wrote: > While before "From" field in messages sent my web-server was: > added by portage for apache > (where "myserver.mydomain.com" is FQDN of my web-server) >=20 > After this modification I get mails from: > added by portage for apache >=20 > But it should come from: > Info >=20 > So it is still not what I expect. I simply want ssmtp not to touch > or change "from" field, and let it to be as it is defined by MUA > (in this case it is php(mail) function of my web-server)... >=20 > Jarry >=20 >=20 > On 22. 4. 2011 19:44, Jeremy McSpadden wrote: >> rewriteDomain=3Dyourdomain.com >> hostname=3Dyourdomain.com >>=20 >> -- >> Jeremy McSpadden >> deface@uberpenguin.net >>=20 >>=20 >>>=20 >>> I have a strange problem: whenever my web-server sends registration >>> emails, the sender field gets overwritten. >>>=20 >>> "From:" should be: >>>=20 >>> My Web Site >>>=20 >>> But email is delivered to the addressee from: >>>=20 >>> added by portage for apache >>>=20 >>> Logs on my web-server indicate the mail was handed over to >>> the local MTA with the correct "From:" field. Logs on my >>> mail-server (which is a different machine) show it has >>> already received this mail for delivery with changed "From" >>> field. >>>=20 >>> In between is ssmtp, running on the same machine as web. >>> I'm not quite sure, because I did not find any ssmtp-logs, >>> but I suppose ssmtp is changing "From", simply to the user >>> under which the process is running is substituted into >>> "From" field. >>>=20 >>> My /etc/ssmtp/ssmtp.conf (without comments) is quite simple: >>> root=3Dpostmaster >>> mailhub=3Dmymailserver >>>=20 >>> How can I instruct ssmtp not to change "From:" fields >>> in emails? >=20 > --=20 > _______________________________________________________________ > This mailbox accepts e-mails only from selected mailing-lists! > Everything else is considered to be spam and therefore deleted. >=20 >=20 >=20