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.
Upstream is preparing a patch. Let's see how that turns out. Thanks for the report.
+*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 +