Hello, I'm trying to configure dnf-automatic to automatically upgrade my system
on a daily basis and send me a summary via mailx using my mailgun account.
I have mailx configured and functioning as expected; I can use the 'mail' cmd
to send mail, and have other services using it to send mail.
The following gist[1] has my /etc/dnf/automatic.conf; all I've really changed about
it is to specify to use 'command_email' and uncommented the default
'command_format'
and 'stdin_format', along with setting the from/to emails. I've dropped some
debug logs into the python it runs, and I can see it gets to the emitter fine.
I was even able to send an example email with the emmitter that was constructed
by manually setting the subject and body and running `emitters[0].commit()`[2]!
The error I'm seeing in the dnf-automatic.service logs is:
Jul 29 06:45:16 <host>dnf-automatic[6226]: . . . message not sent.
Is this is a bug or do I have something misconfigured? Would be much appreciated
if someone could point me in the right direction.
[1]
https://gist.githubusercontent.com/gunnarniels/7e29720adf654fee698c33d931...
[2]
https://github.com/rpm-software-management/dnf/blob/4.2.23/dnf/automatic/...
-GN