System mail (Fedora 20)
rgm at htt-consult.com
Mon Dec 30 13:16:47 UTC 2013
I am joining this thread, as I tripped up on this once I got my old cron
jobs transfered over to this install. I have the following|
$ crontab -l
# For details see man 4 crontabs
# Example of job definition:
# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR
# | | | | |
# * * * * * command to be executed
1 3 * * * rsync -tvz ftp.rfc-editor.org::rfcs/*.txt /home/common/ietf/rfcs
1 4 * * * rsync -tvz rsync.tools.ietf.org::tools.id/*.txt
Gets all the rfs and IDs :) And that is EVERY Internet Draft!
But that MAILTO= line is what causes the problem:
Dec 30 03:26:11 lx120e.htt-consult.com anacron: Job `cron.daily'
terminated (mailing output)
Dec 30 03:26:11 lx120e.htt-consult.com anacron: Can't find
sendmail at /usr/sbin/sendmail, not mailing output
Some cron config file is set to use sendmail for the MAILTO= option.
Lars has pointed out that logwatch config is coded to use sendmail.
We have a problem, Huston.
Frank seems to be pointing to a way to have mailx handle local
deliveries, but just pointing me to AIX documentation on .mailrc does
not do it for me. I need a more complete set of instructions:
A howto setup mailx to handle ALL local mail delivery (for system and
If I need an MTA, can I just install postfix and all configs that call
sendmail will instead have postfix handle the mail (seems like things
work that way out-of-the-box with Centos which switched to postfix?).
If I only need an MTA to send local jobs (logwatch, cron, etc.) to a
remote system (that is running a properly configured MTA), are my
choices only sendmail or postfix, or is there something simpler?
More information about the users