Search found 5 matches

by weswitt
Thu Jul 23, 2020 5:39 pm
Forum: ZoneMinder 1.34.x
Topic: ZM Email
Replies: 7
Views: 3351

Re: ZM Email

i actually go this working. i realized that there were 2 instances of sendmail on my system: /usr/sbin/sendmail and /usr/lib/sendmail, zm seems to use /usr/lib/sendmail. i changed the soft links at both locations to ssmtp and now email works. i have no idea why it failed when the links pointed to ...
by weswitt
Thu Jul 23, 2020 5:11 pm
Forum: ZoneMinder 1.34.x
Topic: ZM Email
Replies: 7
Views: 3351

Re: ZM Email

i have tried changing the sendmail link to ssmtp and the same failure occurs. i have added several logging calls in zm_filter to track the flow. i can see from the added log calls that control flow ends up at line 852: $mail->send('sendmail', $ssmtp_location, $Config{ZM_EMAIL_ADDRESS}); the failure ...
by weswitt
Thu Jul 23, 2020 4:34 pm
Forum: ZoneMinder 1.34.x
Topic: ZM Email
Replies: 7
Views: 3351

Re: ZM Email

for me sendmail is a soft link to msmtp. fyi, i'm running ubuntu server 20.04 on an intel core i7 pc.
by weswitt
Thu Jul 23, 2020 12:10 am
Forum: ZoneMinder 1.34.x
Topic: ZM Email
Replies: 7
Views: 3351

Re: ZM Email

it seems that for some reason zm is using /usr/lib/sendmail instead of the configured email client. there are no entries in the msmtp log. furthermore i write a simple perl script that simulates what zm does in zmfilter.pl and it works perfectly: #!/usr/bin/perl use MIME::Lite; use Net::SMTP; my ...
by weswitt
Wed Jul 22, 2020 9:33 pm
Forum: ZoneMinder 1.34.x
Topic: ZM Email
Replies: 7
Views: 3351

ZM Email

I'm having problems getting ZM to send email successfully. I have MSMTP properly configured and I can send email via the command line using MAIL, MSMTP and SENDMAIL. When I attempt to send an email for an event from the filter page I get this error in the log: "Unable to send email: error closing ...