I am trying to familiarize myself with crontab. I know that it is supposed to send an email containing the output of jobs to the user that scheduled them however, I can see in the
syslog that the address crontab is sending emails to is not a "local" one (as if I were to type
mail -s "email here" username) but an external email address (like email@example.com).
Can someone tell me from where this email is derived and how I can set the users' email address to something else?
This could be because I have a top-level domain associated with my instance (I can see in the log the emails are being sent there), however, I actually have two domain names pointed to this server so I don't know how crontab is choosing or what would happen if there were no domain on this machine.
In short I am just trying to figure out where this default email address is set.