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 11:33, Robert Moskowitz wrote:
I almost have it...

On 5/10/20 7:03 PM, Robert Moskowitz wrote:
I have been digging for how to do today and found something interesting:

Back in Fedora 20, there was no MTA!

https://www.mhonarc.org/archive/html/procmail/2014-01/msg00000.html

I worked on cron outbut via procmail way back then and used:

CRONDARGS=-m "/usr/bin/procmail -f cron"

So I just tried this and I have one problem with it.  No DATE header.


formail -i "Date: $(date +'%a, %e %b %Y %T %z (%Z)')" -s procmail

where stdin is the output from cron puts the "proper" email into /var/spool/mail/user

but how to get this into the crondargs line and get the quotes right?



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.

What I did in my rather late response was to just install and start postfix.  I made no
configuration.  And I think that is what you were looking to do.  Just get mail in the local
inbox for cron jobs. 

Am I missing something?




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