Re: System mail (Fedora 20)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=me

# 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 sun,mon,tue,wed,thu,fri,sat
# |  |  |  |  |
# *  *  *  *  *  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 /home/common/ietf/drafts

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[17136]: Job `cron.daily' terminated (mailing output) Dec 30 03:26:11 lx120e.htt-consult.com anacron[17136]: 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 users).

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?

thank you


--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux