| Summary: | sys-process/vixie-cron - Add mail from capability | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Heath Caldwell (RETIRED) <hncaldwell> |
| Component: | [OLD] Core system | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | enhancement | CC: | cron-bugs+disabled, leho, pacho, tom, treecleaner, wolf31o2 |
| Priority: | High | Keywords: | PMASKED |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Deadline: | 2019-10-11 | ||
| Attachments: | Patch to implement MAILFROM feature | ||
|
Description
Heath Caldwell (RETIRED)
2007-09-13 19:47:15 UTC
Just to clarify, the current command cron uses to send mail is: /usr/sbin/sendmail -FCronDaemon -odi -oem -oi -t The proposed enhancement would allow specifying the envelope from address (not the header from address, which is already root), and basically result in cron running: /usr/sbin/sendmail -FCronDaemon -odi -oem -oi -t -f$MAILFROM It's pretty trivial, but we don't want to maintain a custom cron ebuild so if you're not interesting in adding it in portage we'll probably use a postfix rewriting map instead. This seems cleaner though. Another possibility would be to just hardcode -froot, considering that the header From is already root anyway, then they would just match. Currently the envelope from is the user whose job is running. IMHO opinion this is good feature to have. feel free to attach a patch. whether we can include it largely depends on the patch - so no promises yet... Created attachment 167640 [details, diff]
Patch to implement MAILFROM feature
Any news on whether this patch will be included? cronie - a fork of vixie-cron - has this change in its vcs. http://git.fedoraproject.org/git/?p=cronie.git;a=commit;h=48f16e2f14e3f22e5036c99c306e1262430f8bb6 https://github.com/cronie-crond/cronie/issues/17 also added MAILFROM support for anacron in cronie-1.5.2, so I'd just recommend migrating. Package removed. |