LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Postfix not forwarding e-mails properly (https://www.linuxquestions.org/questions/linux-software-2/postfix-not-forwarding-e-mails-properly-831297/)

jasonswett 09-09-2010 09:45 PM

Postfix not forwarding e-mails properly
 
I have Postfix set up to forward e-mails to two different addresses. This is my /etc/postfix/virtual:

Code:

jason@woollymammothlabs.com jason@woollymammothlabs.com, jason.swett@gmail.com
I'm forwarding the message back to myself because that's the only way I know if the original message is even getting delivered in the first place.

The problem is that the e-mail isn't making it into my GMail inbox. I've checked my spam folder and it isn't there. And bafflingly, according to the logs, the message does seem to be getting sent:

Code:

Sep 10 02:34:38 localhost postfix/smtpd[12698]: connect from mail-qw0-f47.google.com[209.85.216.47]
Sep 10 02:34:38 localhost postfix/smtpd[12698]: C14292AB44: client=mail-qw0-f47.google.com[209.85.216.47]
Sep 10 02:34:38 localhost postfix/cleanup[12703]: C14292AB44: message-id=<AANLkTikTXAWvVuFLwDBobMGd+ew_5ETMG_LCv1sTY4sY@mail.gmail.com>
Sep 10 02:34:38 localhost postfix/qmgr[10529]: C14292AB44: from=<jason.swett@gmail.com>, size=2328, nrcpt=2 (queue active)
Sep 10 02:34:38 localhost postfix/local[12704]: C14292AB44: to=<jason@woollymammothlabs.com>, relay=local, delay=0.07, delays=0.06/0.01/0/0, dsn=2.0.0, status=sent (delivered to maildir)
Sep 10 02:34:40 localhost postfix/smtp[12705]: C14292AB44: to=<jason.swett@gmail.com>, orig_to=<jason@woollymammothlabs.com>, relay=gmail-smtp-in.l.google.com[74.125.65.27]:25, delay=1.9, delays=0.06/0.05/0.07/1.7, dsn=2.0.0, status=sent (250 2.0.0 OK 1284086080 s15si17695951ybm.23)
Sep 10 02:34:40 localhost postfix/qmgr[10529]: C14292AB44: removed
Sep 10 02:35:08 localhost postfix/smtpd[12698]: disconnect from mail-qw0-f47.google.com[209.85.216.47]

The third-to-last line is what I'm talking about.

Can anyone shed some light on what's going on?

Thanks,
Jason

Noway2 09-10-2010 03:28 PM

Gmail can be touchy when it comes to spam and what they consider to be legitimate MTA's. Troubles include having a dynamic IP, not having an SPF record, etc. This doesn't seem to be the problem in this case.

I would temporarily change the mapping so that mail isn't automatically sent to your gmail account and then send yourself a message to you gmail account from your domain. Does that get through? If not, I would contact gmail support with the log information and ask them what is going on as you are getting a proper accepted code and queue ID from their server.

jasonswett 09-10-2010 03:32 PM

Interestingly, when I send an e-mail to jason@woollymammothlabs.com from an account that's NOT GMail, the message gets forwarded to my GMail account just fine.


All times are GMT -5. The time now is 07:40 PM.