One of my clients just moved from one host to another. I copied his cron and set up it.
The cron
runs a mysqldump
and then emails the file to the client. The script only has 1 email address specified. For some reason, the generated email include 6 addresses total. The specified address is 5th in the list. The addresses are all of the host, not the client.
They range from [email protected]
, [email protected]
, [email protected]
, [email protected]
, and [email protected]
and [email protected]
.
echo 'Your MySQL Backup is attached' | mail -a $MYFILEPATH/$DBNAME-backup-$DATE.sql.gz $EMAIL2 -s "MySQL database backup"