• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Not getting daily cron emails

J

Joseph Kralicky

Guest
Hi,
I don't seem to be getting my daily cron emails like I'm used to on my old hosting server. It's never worked with this new server.
System is plesk 9.2.2 w/ qmail.
I updated the qmail alias for root to be my personal gmail acct. I also edited /etc/crontab MAILTO=<my gmail acct>
Is there something I need to do to tell cron to send the email to the right place?
Is cron using "sendmail"?

Confused...

Joe
 
Hello,

Actually it is recommended to use /bin/mail utility in order to send mail messages via command line.

As you can see on your server:

-bash-3.2# ls -alrh /usr/sbin/sendmail
lrwxrwxrwx 1 root root 21 Dec 20 2008 /usr/sbin/sendmail -> /etc/alternatives/mta
 
Back
Top