I have setup /etc/crontab
MAILTOemail@example.com and can get emails with outputs whenever any tasks run by crond. But if I use
mail -s "test email" "firstname.lastname@example.org") Is there any way to check what's happened?
Below is what is working and not:
crond can send email to email@example.com (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 firstname.lastname@example.org