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 1QDKtH-0002kr-JW for garchives@archives.gentoo.org; Fri, 22 Apr 2011 18:15:39 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B9B5A1C035; Fri, 22 Apr 2011 18:14:02 +0000 (UTC) Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com [209.85.161.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 69DD11C035 for ; Fri, 22 Apr 2011 18:14:02 +0000 (UTC) Received: by fxm8 with SMTP id 8so626490fxm.40 for ; Fri, 22 Apr 2011 11:14:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=1YsU/h65p8yvCtUqR5wAi8BUvSLhslU7qqvhCM4HY3Q=; b=Ce2DCqbqaQcdKBqqMuuR1ikKDcX43bewRA91dD6d0fukQNDvwvc127K3ms0w5gVd1w BzStbq/lu28Z6T2DkpmqQ+oZ275ZFLnOIM/fyoY2IWlCCGb1pXF9U9f5R679y4JuUNaf JTl7KC41ug5MvpR1MlI6OyveHmp6sYrl/9nE0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=d6gDfALkqEdd5qc17i0NVd3+f9eAd8JOL6SZwGvRG4sp7Hxuxe+doQmaXqE0WsZIq2 pQS++XMuBsX21OyPzwXh2zRCNyoGO7Gsbzzgr9Fvdai4xxvs5WfUwWOtaNU/q0U4+49V LTCcLUW56otDF0IZ4WtEuoyrhga5YT70TAsOA= Received: by 10.223.117.134 with SMTP id r6mr162513faq.147.1303496041039; Fri, 22 Apr 2011 11:14:01 -0700 (PDT) Received: from [10.0.0.10] ([88.151.72.120]) by mx.google.com with ESMTPS id l3sm953348fap.36.2011.04.22.11.13.59 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 22 Apr 2011 11:14:00 -0700 (PDT) Message-ID: <4DB1C49E.5090906@gmail.com> Date: Fri, 22 Apr 2011 20:10:38 +0200 From: Jarry User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] ssmtp rewriting "From:" in emails... References: <4DB1B5D4.7090209@gmail.com> <5AB798B7-DDA3-428B-8EA9-B6235B3A95D0@uberpenguin.net> In-Reply-To: <5AB798B7-DDA3-428B-8EA9-B6235B3A95D0@uberpenguin.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: e33dbc4d973d41b1cd3c7ef04609dbba 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) After this modification I get mails from: added by portage for apache But it should come from: Info 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)... Jarry On 22. 4. 2011 19:44, Jeremy McSpadden wrote: > rewriteDomain=yourdomain.com > hostname=yourdomain.com > > -- > Jeremy McSpadden > deface@uberpenguin.net > > >> >> I have a strange problem: whenever my web-server sends registration >> emails, the sender field gets overwritten. >> >> "From:" should be: >> >> My Web Site >> >> But email is delivered to the addressee from: >> >> added by portage for apache >> >> 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. >> >> 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. >> >> My /etc/ssmtp/ssmtp.conf (without comments) is quite simple: >> root=postmaster >> mailhub=mymailserver >> >> How can I instruct ssmtp not to change "From:" fields >> in emails? -- _______________________________________________________________ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted.