Re: formail - Re: Fedora 32 no MTA, CRON output and procmail

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

 



On 2020-05-11 15:34, Cameron Simpson wrote:
> On 11May2020 11:51, Ed Greshko <ed.greshko@xxxxxxxxxxx> wrote:
>> Just want to make sure you saw my response to your original post Subject: user crontab?
>>
>> The MTA has to be running in order for mail from cron to be processed.
>
> Robert doesn't want to put an MTA in. It looks like the cron -m argument lets you specify the command used to dispatch email, normally sendmail.  However, by using procmail he doesn't need an MTA because he's having procmail do delivery directly. In that circumstance you don't need an MTA and therefore, you don't need a running MTA.
>
> Personally I'm having trouble finding the doco for the -m option, and also don't know where he's putting this setting.

The setting goes in /etc/sysconfig/crond.

>From the crond man page....

       -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 don't understand what is gained by not installing postfix and letting it only listen, by default, on
"localhost" and use the standard methods for getting mail from cron.

I'm also confused by the need to create headers before feeding anything to procmail since
cron generate a fully formatted mail message as noted in the -m option.


-- 
The key to getting good answers is to ask good questions.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[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