Last change
on this file since 1885 was
1760,
checked in by andersk, 14 years ago
|
Stop cron mail from bouncing to root
This undoes the effect of this patch in cronie 1.4:
http://bugs.gentoo.org/show_bug.cgi?id=192452
which caused mail to come from root by default instead of the user,
and therefore bounce to root@scripts.mit.edu instead of to an
undeliverable address when the user has no procmailrc.
|
-
Property svn:executable set to
*
|
File size:
657 bytes
|
Rev | Line | |
---|
[1187] | 1 | # Settings for the CRON daemon. |
---|
| 2 | # CRONDARGS= : any extra command-line startup arguments for crond |
---|
| 3 | # CRON_VALIDATE_MAILRCPTS=1:a non-empty value of this variable will |
---|
| 4 | # enable vixie-cron-4.1's validation of |
---|
| 5 | # mail recipient names, which would then be |
---|
| 6 | # restricted to contain only the chars |
---|
| 7 | # from this tr(1) set : [@!:%-_.,:alnum:] |
---|
| 8 | # otherwise mailing is not attempted. |
---|
[1760] | 9 | CRONDARGS="-m '/usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t'" |
---|
[1187] | 10 | |
---|
| 11 | # Force crond to always run with tokens |
---|
| 12 | su -c '/home/afsagent/renew' -l afsagent || : |
---|
Note: See
TracBrowser
for help on using the repository browser.