Report this

What is the reason for this report?

If I send an email and forward with postfix from the forwarded address it doesn't go through.

Posted on February 3, 2014

I have postfix setup to forward all emails sent to my website to my gmail account.

It works for all email addresses except my gmail account. (Works for other gmails)

/etc/postfix/virtual looks like this:

@web.com name@gmail.com

I can send mail from console. And other email addresses are forwarded. Except my gmail.

Is google blocking this because they think I am spoofing the header? Or is it on my end?

Is there an easy way to fix this?
(I’d like to limit my email install just to postfix, I’m only forwarding, nothing else)



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Is there anything in postfix’s error logs? <pre>sudo tail -30 /var/log/mail.log</pre> <br>Have you checked your Spam/Junk folder?

Feb 3 16:26:45 localhost postfix/smtpd[3295]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled <br>Feb 3 16:26:45 localhost postfix/smtpd[3295]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual <br>Feb 3 16:26:45 localhost postfix/smtpd[3295]: connect from mail-qc0-f175.google.com[209.85.216.175] <br>Feb 3 16:26:45 localhost postfix/trivial-rewrite[3298]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual <br>Feb 3 16:26:45 localhost postfix/cleanup[3299]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual <br>Feb 3 16:26:45 localhost postfix/smtpd[3295]: B0741E2544: client=mail-qc0-f175.google.com[209.85.216.175] <br>Feb 3 16:26:45 localhost postfix/cleanup[3299]: B0741E2544: message-id=CABF3y-A+_UdxjRm7pWogBNHWFKt6vd4JDq-Z7W7kNSyo3jKMeg@mail.gmail.com <br>Feb 3 16:26:45 localhost postfix/qmgr[1082]: B0741E2544: from=ced.koehler@gmail.com, size=1723, nrcpt=1 (queue active) <br>Feb 3 16:26:45 localhost postfix/smtpd[3295]: disconnect from mail-qc0-f175.google.com[209.85.216.175] <br>Feb 3 16:26:47 localhost postfix/smtp[3300]: B0741E2544: to=ced.koehler@gmail.com, orig_to=admin@ceddy.org, relay=gmail-smtp-in.l.google.com[173.194.68.27]:25, delay=1.6, delays=0.24/0.01/0.94/0.38, dsn=2.0.0, status=sent (250 2.0.0 OK 1391462807 b79si15765833qge.29 - gsmtp) <br>Feb 3 16:26:47 localhost postfix/qmgr[1082]: B0741E2544: removed <br> <br> <br>

Check out <a href=“https://groups.google.com/d/msg/mailing.postfix.users/bLGqzTkdmQ8/otC5IFHt7a4J”>https://groups.google.com/d/msg/mailing.postfix.users/bLGqzTkdmQ8/otC5IFHt7a4J</a> and <a href=“http://www.getshifting.com/wiki/fixpostfixdatabaseolder”>http://www.getshifting.com/wiki/fixpostfixdatabaseolder</a>. <br> <br><blockquote>Feb 3 16:26:47 localhost postfix/smtp[3300]: B0741E2544: to=, orig_to=, relay=gmail-smtp-in.l.google.com[173.194.68.27]:25, delay=1.6, delays=0.24/0.01/0.94/0.38, dsn=2.0.0, status=sent (250 2.0.0 OK 1391462807 b79si15765833qge.29 - gsmtp) </blockquote>Looks like it was forwarded properly. Check the Spam folder.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.