Almost every other program sends reports by calling /usr/bin/sendmail to the address "root". yum-updatesd, however, requires a SMTP server to submit its mail, something that usually also requires domain-decorated names. This patch allows yum-updatesd to submit mail reports using /usr/bin/sendmail like any other system monitoring program. The old code path is still there and is controlled by the value "use_sendmail" in the configuration. The patch in bug 387181 is assumed to be present when applying this one.
Created attachment 268001 [details] yum-updatesd-sendmail.patch
Thanks, applied in git
When will we see it in F8 updates/testing?
The patch looks buggy, it uses /usr/bin/sendmail which doesn't exist. Should be using /usr/sbin/sendmail instead.
yum-updatesd-0.8-2.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update yum-updatesd'
Has this been ever tested using postfix? After fixing the use of email_to according to https://bugzilla.redhat.com/show_bug.cgi?id=387051 I get now: sendmail: fatal: Recipient addresses must be specified on the command line or via the -t option
Created attachment 282291 [details] yum-email-compat.patch Adds the -t flag to be more compatible with other /usr/sbin/sendmail implementations.
Created attachment 282301 [details] yum-email-crash.patch Avoid a traceback on some packages.
Other than those two patches, the RPM in testing works just fine.
Committed to master. Will give a few more days before doing another build
yum-updatesd-0.9-1.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update yum-updatesd'
Seems to work nicely now.
yum-updatesd-0.9-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.
Adding FutureFeature keyword to RFE's.