I have setup /etc/crontab
MAILTOfirstname.lastname@example.org and can get emails with outputs whenever any tasks run by crond. But if I use
mail -s "test email" "email@example.com") Is there any way to check what's happened?
Below is what is working and not:
crond can send email to firstname.lastname@example.org (this is just an example, I actually sending to company email)
mail can send email to gmail/yahoo/hotmail account
mail CAN'T send email to email@example.com