Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420301 - mail-mta/nullmailer-1.10 incompatible with sys-process/vixie-cron-4.1-r12
Summary: mail-mta/nullmailer-1.10 incompatible with sys-process/vixie-cron-4.1-r12
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-08 18:48 UTC by Pouya K
Modified: 2012-06-12 21:26 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pouya K 2012-06-08 18:48:11 UTC
When using nullmailer with vixie-cron I do not get any emails produced by cron jobs, but rather get the following cron log message:

(root) MAIL (mailed 4 bytes of output but got status 0x0001

After investigating, I found that this was because of the following arguments cron sends to /usr/lib/sendmail

-FCronDaemon -odi

which result in the following errors with nullmailer:
/usr/lib/sendmail: unknown option string: '-FCronDaemon'
/usr/lib/sendmail: unknown option string: '-odi'

Modifying vixie-cron's line in config.h from:

#define MAILFMT "%s -FCronDaemon -odi -oem -oi -t" /*-*/

#define MAILFMT "%s -F CronDaemon -oem -oi -t" /*-*/

fixes the problem, although nullmailer should probably be modified to properly parse the -F argument and ignore the -odi.
Comment 1 Eray Aslan gentoo-dev 2012-06-12 06:34:37 UTC
Upstream is preparing a patch.  Let's see how that turns out.  Thanks for the report.
Comment 2 Eray Aslan gentoo-dev 2012-06-12 21:26:53 UTC
+*nullmailer-1.10-r1 (12 Jun 2012)
+
+  12 Jun 2012; Eray Aslan <eras@gentoo.org> +nullmailer-1.10-r1.ebuild,
+  +files/nullmailer-1.10-fix-sendmail.patch:
+  Fix option parsing - bug #420301
+