probleme spam with send mail

January 12, 2018 84 views
Apache Debian

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[2230]: STARTTLS=client,, version=TLSv1.2, verify=FAIL, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128/128
please help me it's urgent

Be the first one to answer this question.