After spending so many hours trying to fix this problem, which in my case just came from nothing, I got a solution. In my case, only systems deployed on Suse OS suddenly stopped sending emails, but not the same ones on Ubuntu. After exhausting and eliminating all the proposed features of this problem, and even taking into account the change in the OS of these machines, I found out that somehow the email sending service is reasonable for the host name of the host machine. On Ubuntu machines, the / etc / hosts file has only the following line:
127.0.0.1 localhost
and there were Suse machines that stopped sending emails. After editing / etc / hosts from Suse machines to
127.0.0.1 localhost proplad
where proplad is the host name of the machine, the errors disappeared. It appears that some security policies (possibly from the smtp service) use the host information provided through the API, which is ignored for Ubuntu machines, but not for Suse machines. Hope this helps others by avoiding massive hours of research on the Internet.
Digao source share