[CentOS] When no MTA is installed, How to send an email with a cronjob?

Indunil Jayasooriya

indunil75 at gmail.com
Sun Jul 21 08:42:55 UTC 2013


Hi,

When no MTA is installed, How to send an email with a cronjob?

I have below entrty in my cronjob?

my /etc/cron.d/backup file looks like this.

MAILTO=myemail at example.com
15 11 * * * root /root/scripts/backup.sh

Can I send this email via SMTP server?


Hope to hear from you.






-- 
Thank you
Indunil Jayasooriya
http://www.theravadanet.net/
http://www.siyabas.lk/sinhala_how_to_install.html   -  Download Sinhala
Fonts



More information about the CentOS mailing list