Re: mailx help

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

 




On 01/21/2014 05:54 AM, Ed Greshko wrote:
On 01/21/14 21:43, Frank Murphy wrote:
On Mon, 20 Jan 2014 22:16:19 -0800
Robert Moskowitz <rgm@xxxxxxxxxxxxxxx> wrote:

using mailx to supposedly mail to myself with no sendmail.  cron is
failing in the mailing and the message ends in dead.letter.
This is why:
from cronie runjob.c

   /* Check that we have a way of sending mail. */
     if(stat(SENDMAIL, &buf))
     {
	complain("Can't find sendmail at %s, not mailing output",
SENDMAIL); return;
     }

me thinks you're forgetting the thread from back in December.  Recall that crond has a configuration file in /etc/sysconfig which has CRONDARGS= to allow one to the -m option.....


       -m     This  option  allows  you  to  specify a shell command to use for
               sending Cron mail output instead of using sendmail(8)  This  com‐
               mand must accept a fully formatted mail message (with headers) on
               standard input and send it as a mail message  to  the  recipients
               specified  in the mail headers.  Specifying the string off (i.e.,
               crond -m off) will disable the sending of mail.

I too have pretty much forgotten about that thread.  But, it now seems that using mailx still needs sendmail as mailx submits to sendmail's queue.

Something is complaining.  I do have:

CRONDARGS=-m "/usr/bin/mailx -t"

But we see from the test of trying to use the dead.letter file that mailx itself is using sendmail. So you fix one problem and cause another.

But, in my limited testing, using procmail would not require sendmail.


And I am staying away, so far, from installing an MTA to figure out what would work.


--
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