I'm running FreeBSD 11.0-RELEASE.
On default cron is using
crontab(5)() says in the section about the MAILTO var:
This option is useful if you decide on /bin/mail instead of /usr/lib/sendmail as your mailer when you install cron -- /bin/mail does not do aliasing, and UUCP usually does not read its mail.
I downloaded the FreeBSD source code and tried the command
Sorry for the noob question, I'm completely new to FreeBSD/Unix.
Thanks for your help!
On default cron is using
/usr/lib/sendmail
to send user emails. How can I tell/set cron to use /bin/mail
instead?crontab(5)() says in the section about the MAILTO var:
This option is useful if you decide on /bin/mail instead of /usr/lib/sendmail as your mailer when you install cron -- /bin/mail does not do aliasing, and UUCP usually does not read its mail.
I downloaded the FreeBSD source code and tried the command
# make config
in /usr/src/usr.sbin/cron/
, that ofc does not work since config is not defined. But I think that's an bad idea anyway cause future updates could easy overwrite this?Sorry for the noob question, I'm completely new to FreeBSD/Unix.
Thanks for your help!