LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 09-09-2010, 09:45 PM   #1
jasonswett
LQ Newbie
 
Registered: Jan 2010
Posts: 29

Rep: Reputation: 0
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
 
Old 09-10-2010, 03:28 PM   #2
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Ubuntu 10.10, Slackware 64-current
Posts: 2,120

Rep: Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776
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.
 
Old 09-10-2010, 03:32 PM   #3
jasonswett
LQ Newbie
 
Registered: Jan 2010
Posts: 29

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] forwarding e-mails to external account e.g xxx@gmail.com persy Suse/Novell 2 05-12-2010 06:20 AM
To restrict a user to send mails only to 3 e-mails IDs using postfix mail server sharath41 Linux - Newbie 2 07-21-2008 07:38 PM
Forwarding on sent mails in sendmail qaiser.ijaz Red Hat 0 09-14-2007 11:07 PM
auto forwarding root mails farhan Linux - Networking 2 10-24-2003 01:00 PM


All times are GMT -5. The time now is 09:02 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration