I’m really sorry if this is documented somewhere in the handbook or elsewhere, but in my ignorance I can’t seem to find it. I’ve just installed a FreeBSD 11.1-RELEASE VM, and specifically opted not to enable sendmail.
In my /var/log/maillog file, I get sendmail related errors at around 3am every morning, and it seems that the periodic daily cron job is trying to use sendmail (and failing) to deliver a message to root@localhost. What is the recommended way to disable periodic from trying to do this without switching off the related daily cron job entirely? To be clear, I'm not interested in receiving mail about system activity to a local mailbox, I would rather just review log files etc.
I’ve had a play with /etc/defaults/periodic.conf and the files in /etc/periodic/daily, but they don't seem to help - I am probably just not doing it right and would rather not tear this VM apart looking for the right answer Thank you for any advice in advance.
Regards,
Phil
In my /var/log/maillog file, I get sendmail related errors at around 3am every morning, and it seems that the periodic daily cron job is trying to use sendmail (and failing) to deliver a message to root@localhost. What is the recommended way to disable periodic from trying to do this without switching off the related daily cron job entirely? To be clear, I'm not interested in receiving mail about system activity to a local mailbox, I would rather just review log files etc.
I’ve had a play with /etc/defaults/periodic.conf and the files in /etc/periodic/daily, but they don't seem to help - I am probably just not doing it right and would rather not tear this VM apart looking for the right answer Thank you for any advice in advance.
Regards,
Phil