Configure Postfix to send/relay emails Gmail (smtp.gmail.com) via port 587
Posted
by tom smith
on Server Fault
See other posts from Server Fault
or by tom smith
Published on 2010-03-04T18:59:31Z
Indexed on
2010/06/18
15:43 UTC
Read the original article
Hit count: 972
Hi.
Using Centos 5.4, with Postfix. I can do a
mail [email protected]
subject: blah
test
.
Cc:
and the msg gets sent to gmail, but it resides in the spam folder, which is to be expected.
My goal is to be able to generate email msgs, and to have them appear in the regular Inbox! As I understand Postfix/Gmail, it's possible to configure Postfix to send/relay mail via the authenticated/valid user using port 587, which would no longer have the mail be seen as spam.
I've tried a number of parameters based on different sites/articles from the 'net, with no luck. Some of the articles, actually seem to conflict with other articles! I've also looked over the stacflow postings on this, but i'm still missing something... Also talked to a few people on IRC (Centos/Postfix) and still have questions..
So, i'm turning to Serverfault, once again!
If there's someone who's managed to accomplish this, would you mind posting your main.cf, sasl-passwd, and any other conf files that you use to get this working! If I can review your config files, I can hopefully see where I've screwed up, and figure out how to correct the issue.
Thanks for reading this, and any help/pointers you provide!
ps, If there is a stackflow posting that speaks to this that I may have missed, feel free to point it out to me!
-tom
© Server Fault or respective owner