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

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:

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)

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

I have a definitely same problem like ced.koehler, but I can’t also find any solution. <br>I tried ‘newaliases’ and rebooting too, but the problem isn’t solved.

Try running <code>newaliases</code> and then rebooting your droplet.

Its definitely not in my gmail spam folder. Any other help would be greatly appreciated, this has me stumped. <br> <br>Thanks.