texte = 1385--089e082da2cca01dc7055fe24526Content-Type: text/plain; charset="UTF-8"I know most of you here are experts, but I an not on any one topic.In the past some time ago SENDMAIL sending from localhost worked perfect,then major emailers stopped allowing it and or put it in the "SPAM" folder.We'll you can't run a site with every SENDMAIL going there and I tried afew things that did not work.However, Talking to a guy about 2 months ago, he told me about "SendGrid"and they have a great document on how to set it up on their website, so Itried it, and it worked great sending and keeping SENDMAIL out of the spamfolder!BUT, after a month sending maybe 30 test emails to myself and 3 friendswhile my site is in development, they CUT ME OFF telling me my emails areconsidered spam! So I was back to square one!So, after playing around with postfix I added my google account info inplace of SendGrid and it's working GREAT!POSTFIX-----------------------------sasl_passwd (file) include the brackets [smtp.gmail.com]:587 googleUSERNAME:googlePASSWORD----------------------------main.cf (file) put at the bottom...smtp_sasl_auth_enable = yessmtp_sasl_password_maps = hash:/etc/postfix/sasl_passwdsmtp_sasl_security_options = noanonymoussmtp_sasl_tls_security_options = noanonymoussmtp_tls_security_level = encryptheader_size_limit = 4096000relayhost = [smtp.gmail.com]:587---------------------------------------then you need to run sudo postmap /etc/postfix/sasl_passwdin the terminal window and restart postfix-----------------------------------------Note: I had to edit file path hash:/etc/postfix/sasl_passwdalso, not a terminal window fan so to edit by hand enter shift/command/G then the file path /privateOne last thing... does not matter who or what the sender email is inSENDMAIL as google is gonna replace in with googleUSERNAME@gmail.comHope this helps someone... if not today, maybe in the future.Brian--089e082da2cca01dc7055fe24526Content-Type: text/html; charset="UTF-8"Content-Transfer-Encoding: quoted-printable
I know most of you here are experts, but I an not on any o=ne topic.=C2=A0
In the past some time ago SENDMAIL sendi=ng from localhost worked perfect, then major emailers stopped allowing it a=nd or put it in the "SPAM" folder. We'll you can't run a =site with every SENDMAIL going there and I tried a few things that did not =work.
However, Talking to a guy about 2 months ago=, he told me about "SendGrid" and they have a great document on h=ow to set it up on their website, so I tried it, and it worked great sendin=g and keeping SENDMAIL out of the spam folder!
BUT=, after a month sending maybe 30 test emails to myself and 3 friends while =my site is in development, they CUT ME OFF telling me my emails are conside=red spam! So I was back to square one!
So, after p=laying around with postfix I added my google account info in place of SendG=rid and it's working GREAT!
POSTFIX
=-----------------------------
sasl_passwd (file)
==C2=A0 include the brackets [
smtp.gmail.c=om]:587 googleUSERNAME:googlePASSWORD
-----------------------=-----
main.cf (file) put at the bo=ttom...
smtp_sasl_auth_enable =3D yes
smtp_sasl_pa=ssword_maps =3D hash:/etc/postfix/sasl_passwd
smtp_sasl_security_=options =3D noanonymous
smtp_sasl_tls_security_options =3D noanon=ymous
smtp_tls_security_level =3D encrypt
header_size_l=imit =3D 4096000
----------------------------------=-----
then you need to run=C2=A0sudo postmap /etc/postfix/sasl_pa=sswd
in the terminal window and restart postfix
-------=----------------------------------
Note: I had to edit file path =hash:/etc/postfix/sasl_passwd
also, not a terminal window fan so =to edit by hand enter
=C2=A0shift/command/G then the file path /p=rivate
One last thing... does not matter who or wh=at the sender email is in SENDMAIL as google is gonna replace in with
googleUSERNAME@gmail.com
Hope this helps someone... if not today, maybe in the fut=ure.