Msmtp is not sending messages when invoked from upssched-cmd. I can manually invoke it from the command line. There is a 's' instead of an 'x' in the ls -l. Might this be some sort of permission problem? upsmon.conf has run user as root. Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20240219/328d9296/attachment.htm> -------------- next part -------------- A non-text attachment was scrubbed... Name: upssched-cmd.JPG Type: image/jpeg Size: 6286 bytes Desc: upssched-cmd.JPG URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20240219/328d9296/attachment.jpe> -------------- next part -------------- A non-text attachment was scrubbed... Name: msmtp.JPG Type: image/jpeg Size: 7691 bytes Desc: msmtp.JPG URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20240219/328d9296/attachment-0001.jpe>
Matus UHLAR - fantomas
2024-Feb-19 16:13 UTC
[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.