Re: dnf-automatic command_email failing to send email?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/29/20 9:43 PM, Gunnar Niels wrote:
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/7e29720adf654fee698c33d9315647b0/raw/64b515f733428f8895739e407c0644e1ee95b313/gistfile1.txt
[2] https://github.com/rpm-software-management/dnf/blob/4.2.23/dnf/automatic/main.py#L277

-GN

Is there a more specific mailing list or recommended forum for such a specific dnf question?
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux