Solution: A telnet session to the mail server SMTP port revealed 'Our system has detected an unusual rate of unsolicited mail originating from your IP address. To protect our users from spam, mail sent from your IP address has been temporarily rate limited.'
- in fact no spam was being sent
- it turned out my ZoneMinder server had no sender policy framework (SPF) entry so I added one
- a different error message revealed itself after this and a lookup of my ZoneMinder IP address on http://cbl.abuseat.org/lookup.cgi reported 'This IP address is HELO'ing as "localhost.localdomain" which violates the relevant standards (specifically: RFC5321).'
- the page http://cbl.abuseat.org/linuxnonserver.html provided the answer
- a dirty hack to '/usr/bin/zmfilter.pl' corrected the problem and got me back up and running again until I can do a neater fix
BEFORE:
Code: Select all
1002 ### Send the Message
1003 MIME::Lite->send( "smtp", ZM_EMAIL_HOST, Timeout=>60 );
1004 $mail->send();
1096 ### Send the Message
1097 MIME::Lite->send( "smtp", ZM_EMAIL_HOST, Timeout=>60 );
1098 $mail->send();
Code: Select all
1002 ### Send the Message
1003 MIME::Lite->send( "smtp", ZM_EMAIL_HOST, Timeout=>60, Hello=>'host.example.com' );
1004 $mail->send();
1096 ### Send the Message
1097 MIME::Lite->send( "smtp", ZM_EMAIL_HOST, Timeout=>60, Hello=>'host.example.com' );
1098 $mail->send();