Hello I user ubuntu 16.04 and I have OVH domain name and I hosted it in ovh dedicate service and I use letsencrypt for SSL I configured SPF for my domain name and I make the PTR of my dedicate server to my domaine juste now it’s ok. I need to send mail from php that why I’m using mail() function with sendmail. it work but gmail make all my mails in spam . in logs I found that gmail return : Jan 12 03:18:02 sowazi sm-mta: STARTTLS=client, relay=gmail-smtp-in.l.google.com., version=TLSv1.2, verify=FAIL, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128/128 please help me it’s urgent
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.