On 5/13/20 3:26 PM, Robert Moskowitz wrote:
On 5/12/20 12:13 PM, Lukas Vrabec wrote:
Oh, and this script runs fine for root's crontab tasks. It is failing
on whatever kicks off logwatch.
Yes, that's the problem.
Can you please run:
# semanage fcontext -a -t sendmail_exec_t /usr/local/mycron # restorecon -Rv /usr/local
and then reproduce it? This could help.
It works now. Thanks!
Great to hear that!
Of course I am changing my mycron script yet again! I was shown how to use formail/procmail as a simple MDA. Still need a script file, and probably still need all these selinux changes for it,
eventhough only procmail is touching /var/spool/mail/