> I am tearing my hair out over this. I have read previous threads on the > subject, but most seem to relate to getting root mail. That works now > (thanks to Suvayu Ali) - putting: > # Person who should get root's mail > root: mark > into /etc/aliases did the trick for root cron jobs. > But I still don't get cron output for user mark. > > I have MAILTO=mark at the top of my crontab file. > > According to /var/log/cron the job has run and has produced output: > Apr 14 13:58:02 Zaphod CROND[8001]: (mark) CMD (~/scripts/croncheck.sh) > Apr 14 13:58:02 Zaphod CROND[7999]: (mark) CMDOUT (Please Note: That file does not exist) > > Nothing appears in /var/spool/mail/mark though. > > The exim logs show no evidence of having been bothered by cron... > 2014-04-14 12:44:05 1WZfIy-0001xD-Mb <= fail2ban@xxxxxxxxxxx U=root P=local S=1988 > 2014-04-14 12:44:06 1WZfIy-0001xD-Mb => mark <root@Zaphod> R=procmail T=procmail > 2014-04-14 12:44:06 1WZfIy-0001xD-Mb Completed > 2014-04-14 13:08:35 Start queue run: pid=7745 > 2014-04-14 13:08:35 End queue run: pid=7745 > 2014-04-14 14:08:35 Start queue run: pid=8149 > 2014-04-14 14:08:35 End queue run: pid=8149 > > Note that the entry at 12:44 was the output from fail2ban which is > mailed to root (and thence to Mark). I then get that email. > > So where does the output from cron jobs for normal users go? Another update: I do have msmtp installed on this system in order to be able to mail from php scripts. I have temporarily disabled it by moving .msmtprc out of the way. When I log in as another user on the system (Let's call her Mary) I can do: $ mail mark Subject: Test Message Just testing... [CTRL-d] EOT and the message appears in /var/spool/mail/mark But when I log in as Mark I get this: $ mail mary Subject: Testing internal messaging Testing internal email [CTRL-d] EOT [mark@Zaphod]$ send-mail: account default not found: no configuration file available Is this significant? -- 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