Something is wrong with my configuration on my mail server. My username in linux is chris, and my hostname is ubuntu. But the mail sent by crontab is going to email@example.com
which is not my email. Here's my configuration.
2 # Config file for sSMTP sendmail
4 # The person who gets all mail for userids < 1000
5 # Make this empty to disable rewriting.
8 # The place where the mail goes. The actual machine name is required no
9 # MX records are consulted. Commonly mailhosts are named mail.domain.com
12 # Where will the mail seem to come from?
15 # The full hostname
18 # Are users allowed to set their own From: address?
19 # YES - Allow the user to specify their own From: address
20 # NO - Use the system generated From: address
23 UseSTARTTLS=YES # Send SSL/TLS messages to Gmail
24 AuthUser=christopher.lemire # Your Gmail Username
25 AuthPass=mypass # Your Gmail Password
26 rewriteDomain=gmail.com # So the message appears to come from Gma il
27 FromLineOverride=YES # So the message appears to come from Gma il
Here is the problem.