Error sending emails after SpamAssassin activation

thekvs

New member
Joined
May 11, 2022
Messages
3
Location
Brasil
- Server was running fine and sending emails normally.
- Installed spamassassin with DA CustomBuild.
- After activating SpamAssassin for a client all is running fine.
- Some other clients in this server told me they started recieving a delivery error when sending emails to Gmail only:
550-5.7.25
The IP address sending this message does not have a PTR record setup, or the corresponding forward DNS entry does not point to the sending IP. As a policy, Gmail does not accept messages from IPs with missing PTR records.
- If we activate SpamAssassin for that account it starts working again.

Any idea to fix that? For now just turned on SpamAssassin for all clients using emails, but would like to fix that config.
 
Server has been running for 6 months and it has rDNS/PTR set (Everything working fine)
intodns.png


The problem started only after SpamAssassin was installed on server.
 
Solved the problem.
After activating SpamAssassin and SpamFighter exim was rebuilt and the file /etc/exim.variables.conf had disable_ipv6=false
change that to disable_ipv6=true and it started working.


Edit:
Just found another solution, better one maybe
- use /etc/exim.variables.conf.custom instead.
- disable_ipv6=true
 
Odd that it comes with the PTR record notice, but probably that was caused by the ipv6 then because Gmail looks at that first.
So then the PTR notice is correct.

better one maybe
If you don't use ipv6 anyway, why not just disable ipv6 completely? Then you don't need customisations. ;)
 
Back
Top