Perl error with Lite.pm when running filter to send email notification
Posted: Fri Jul 09, 2021 5:29 am
Hi,
After upgrading to 1.36 (actually, a clean install, restoring DB from backup of an older version) I'm getting this error in the logs when a notification email is supposed to be sent by a filter:
07/06/2021 22:19:29.451385 zmfilter[423574].INF [main:179] [Scanning for events using filter 'EmailOnFrontDoorAlarm']
07/06/2021 22:19:29.514088 zmfilter[423574].INF [main:842] [Creating notification email]
07/06/2021 22:19:29.529666 zmfilter[423574].INF [main:850] [Sending notification email 'Alarm - Front Door']
Use of uninitialized value $cmd[0] in exec at /usr/share/perl5/MIME/Lite.pm line 2732.
Use of uninitialized value $cmd[0] in exec at /usr/share/perl5/MIME/Lite.pm line 2732.
Can't exec "": No such file or directory at /usr/share/perl5/MIME/Lite.pm line 2732.
Use of uninitialized value $p{"Sendmail"} in concatenation (.) or string at /usr/share/perl5/MIME/Lite.pm line 2732.
07/06/2021 22:19:29.579930 zmfilter[423576].ERR [main:930] [Unable to send email: can't exec : No such file or directory]
Any suggestions? I wasn't able to find anything like this from searching around.
After upgrading to 1.36 (actually, a clean install, restoring DB from backup of an older version) I'm getting this error in the logs when a notification email is supposed to be sent by a filter:
07/06/2021 22:19:29.451385 zmfilter[423574].INF [main:179] [Scanning for events using filter 'EmailOnFrontDoorAlarm']
07/06/2021 22:19:29.514088 zmfilter[423574].INF [main:842] [Creating notification email]
07/06/2021 22:19:29.529666 zmfilter[423574].INF [main:850] [Sending notification email 'Alarm - Front Door']
Use of uninitialized value $cmd[0] in exec at /usr/share/perl5/MIME/Lite.pm line 2732.
Use of uninitialized value $cmd[0] in exec at /usr/share/perl5/MIME/Lite.pm line 2732.
Can't exec "": No such file or directory at /usr/share/perl5/MIME/Lite.pm line 2732.
Use of uninitialized value $p{"Sendmail"} in concatenation (.) or string at /usr/share/perl5/MIME/Lite.pm line 2732.
07/06/2021 22:19:29.579930 zmfilter[423576].ERR [main:930] [Unable to send email: can't exec : No such file or directory]
Any suggestions? I wasn't able to find anything like this from searching around.