[Nut-upsuser] msmtp not running in upssched-cmd

Dan Grostick danpower2023 at outlook.com
Mon Feb 19 17:10:21 GMT 2024


Thank you for the insight.
Further investigation revealed that upssched-cmd wasn't running due to a typo in the file. Found an error code in Syslog.
Case closed.
Dan
________________________________
From: Nut-upsuser <nut-upsuser-bounces+danpower2023=outlook.com at alioth-lists.debian.net> on behalf of Matus UHLAR - fantomas via Nut-upsuser <nut-upsuser at alioth-lists.debian.net>
Sent: Monday, February 19, 2024 11:13 AM
To: nut-upsuser at alioth-lists.debian.net <nut-upsuser at alioth-lists.debian.net>
Subject: Re: [Nut-upsuser] msmtp not running in upssched-cmd

On 19.02.24 14:48, Dan Grostick via Nut-upsuser wrote:
>Msmtp is not sending messages when invoked from upssched-cmd.

>I can manually invoke it from the command line.

where is its config file?

>There is a 's' instead of an 'x' in the ls -l.  Might this be some sort of
>permission problem?

Should not be the case.

>upsmon.conf has run user as root.

msmtp may use HOME variable to search for its config file, which may not
exist when executed from upsmon.

do you have system-wide msmtprc?

How did you configure upsmon to call msmtp?

--
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Depression is merely anger without enthusiasm.

_______________________________________________
Nut-upsuser mailing list
Nut-upsuser at alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20240219/a90e1689/attachment.htm>


More information about the Nut-upsuser mailing list