[opendmarc-users] scalar chomp errors developed since upgrade? ...What has happened here?

Juri Haberland juri at sapienti-sat.org
Sun Jun 12 09:13:08 PDT 2016


On 12.06.2016 15:11, Robert Chalmers wrote:
> I’m on Mac OSX 10.11.5

> I updated MySql the other day, and some Perl components, but not anything to do with opendmarc I thought, but now suddenly I’m getting these errors when attempting to send reports each night.

I think the Perl update is unrelated, but the MySQL update might be the
reason for one of your issues, but see below.

> There are a number of errors in the log, the first one is probably the mailer…
> 
> But the second one 
> Use of uninitialized value $answer in scalar chomp at /usr/local/sbin/opendmarc-reports line 938.
> Use of uninitialized value $answer in concatenation (.) or string at /usr/local/sbin/opendmarc-reports line 939.

This looks like ticket #134 - "opendmarc-reports crashes when sending smtp
wessages with a warning that a variable is not initialized":
https://sourceforge.net/p/opendmarc/tickets/134/
There's also a patch in that ticket.

But why does your mailer rejects the local mail temporarily? It should
accept it right away - the report script is not designed to retry a failed
message!

> opendmarc-expire: DELETE failed: Incorrect datetime value: '0000-00-00 00:00:00' for column 'lastsent' at row 1

That might come from a change in your MySQL version. Have a look at
NO_ZERO_DATE
(http://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_zero_date).

> Thanks for any pointers

You might also look at Andreas Schulze's site for a collection of patches
to OpenDMARC 1.3.1:
https://andreasschulze.de/dmarc/opendmarc


  Juri



More information about the opendmarc-users mailing list