<<< CentOS - Postfix - cron tasks don't send mail >>>
Hi!
I've configured a CentOS 5.6 to perform Proxy (squid), FTP (VSFTPd) and Mail-Relay (Postfix).
I can successfully send mails via telnet and/or sendmail command to my relay hosts.
Problem is, mails are not being sent when cron tasks take place.
here is my /etc/crontab specifying the MAILTO=root directive
Code:
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# run-parts
01 * * * * root run-parts /etc/cron.hourly
10 0 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
17 15 * * * root run-parts /etc/cron.spa
And here is part of my /etc/aliases which makes all mails to root
Code:
be sent to myUser@myRelayDomain
# Person who should get root's mail
#root: marc
root: myUser@myRelayDomain
If there is aditional information required for the solve, I'll provide it to you.
With my best regards,
sburnay