- Server operating system version
- Centos 7.9
- Plesk version and microupdate number
- 18.0.63 #3
Hello everyone.
After several weeks of work, I have finally not been able to solve the problem I have with my Postfix server and sending emails to Gmail accounts.
I put them in the situation and explain the problems I have been encountering to see if anyone has had the same problem and managed to solve it.
Centos Server 7.9. plesk obsidian 18.0.63
Postfix + dovecot
I only use this server as an email server since the domain website is hosted on another server.
My domain is "besalu.cat"
The hostname of the server is: srv.besalu.cat
Record A of besalu.cat points to an ip.
Record A of mail.besalu.cat points to the Plesk IP.
MX record of besalu.cat (mail.besalu.cat) points to the ip of my Plesk.
The PTR of my IP points to mail.besalu.cat
The hostname of my server is srv.besalu.cat
the A record of srv.besalu.cat points to the ip of my Plesk.
My server's postfix is working fine, I can send emails to any address except gmail accounts.
The error that appears is the famous 550-5.7.1 unsolicited mail
I am verifying my domain on postmaster.google.com and it returns two options that can improve.
SPF and DKIM authentication can be improved.
I have the DKIM and SPF in my DNS record.
From MXtoolbox it tells me that it is ok.
The second postmaster.google.com option that I can improve is: "From:" header matching
I've been making changes for several weeks, and every time google checks my changes, it returns the same errors.
I have tried changing the hostname of the server, I have tried different versions of SPF and DKIM and DMARC... I can't improve it.
From the MXtoolbox "Email delivery" application, the tests go well.
So, does anyone know how to solve this problem?
Maybe you can change the RFC822 of the plesk postfix and change it to RFC5322 so that Google interprets the messages as correct?
Thank you very much for your help.
After several weeks of work, I have finally not been able to solve the problem I have with my Postfix server and sending emails to Gmail accounts.
I put them in the situation and explain the problems I have been encountering to see if anyone has had the same problem and managed to solve it.
Centos Server 7.9. plesk obsidian 18.0.63
Postfix + dovecot
I only use this server as an email server since the domain website is hosted on another server.
My domain is "besalu.cat"
The hostname of the server is: srv.besalu.cat
Record A of besalu.cat points to an ip.
Record A of mail.besalu.cat points to the Plesk IP.
MX record of besalu.cat (mail.besalu.cat) points to the ip of my Plesk.
The PTR of my IP points to mail.besalu.cat
The hostname of my server is srv.besalu.cat
the A record of srv.besalu.cat points to the ip of my Plesk.
My server's postfix is working fine, I can send emails to any address except gmail accounts.
The error that appears is the famous 550-5.7.1 unsolicited mail
I am verifying my domain on postmaster.google.com and it returns two options that can improve.
SPF and DKIM authentication can be improved.
I have the DKIM and SPF in my DNS record.
From MXtoolbox it tells me that it is ok.
The second postmaster.google.com option that I can improve is: "From:" header matching
I've been making changes for several weeks, and every time google checks my changes, it returns the same errors.
I have tried changing the hostname of the server, I have tried different versions of SPF and DKIM and DMARC... I can't improve it.
From the MXtoolbox "Email delivery" application, the tests go well.
So, does anyone know how to solve this problem?
Maybe you can change the RFC822 of the plesk postfix and change it to RFC5322 so that Google interprets the messages as correct?
Thank you very much for your help.