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@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org

Reply via email to