On Mon, Nov 15, 2010 at 4:19 AM, Noel Jones <njo...@megan.vbhcs.org> wrote:

> On 11/14/2010 3:50 PM, flip side wrote:
>
>> I have two gmail accounts set up. When I'm logged in as
>> account1 I can send mail as "From" account2. Google calls this
>> an alternate account (http://goo.gl/Gts2g).
>>
>> If I log in as account1 and send mail to my postfix server,
>> everything is fine.
>> If I log in as account1 and send mail to my postfix server
>> "from" account2, the mail never arrives.
>>
>> I feel sure postfix must be filtering or rejecting the mail,
>> but I've been unable to find anything in any logs. I've set
>> 'smtpd_tls_loglevel = 4' and added -v to the smtp line in
>> /etc/postfix/master.cf <http://master.cf/>  but I'm not seeing
>>
>> anything at all. In mails sent from the alternate account, the
>> from: address is acount1 and the sender: address is acount2.
>>  That seems the likeliest cause to me. Any insights would be
>> much appreciated
>>
>
>
> You have failed to understand the difference between the From: header and
> the envelope MAIL FROM.
>
> Gmail alternate accounts can change the From: header displayed by most mail
> clients.  It does not change the envelope sender as recorded in the postfix
> logs.  So *all* mail arriving from your accou...@gmail will appear in the
> postfix logs as from=accou...@gmail regardless of whether or not you use
> the alternate sender.
>
> Postfix logs all connections, all deliveries, and all rejections at the
> normal logging level.  Increasing the postfix log level only gives you 100x
> more stuff to search through for something that was never there to start
> with.
>
> If the mail never arrives, you'll need to look at something other than
> postfix for the reason.
>
>
>  -- Noel Jones
>

I didn't really expect turning logging on to give me any more information,
but I could really think of anything else to do. Similarly, I didn't really
expect that posting here would turn up a magic solution, but I can't really
think of what else to check. I know that the mail is leaving Google, and I
know that it's not arriving into Postfix, but I don't know where it's ending
up. The server is on Amazon AWS, so there shouldn't be anything in front
Postfix that could be filtering the message.

Reply via email to