let CRON send emails through SMTP ( debian squeeze )
- by supernova
i would like to send emails whenever a cronjob has completed, i read that this is possible with exim4.
in /etc/alias i added the line
myuser: [email protected]
in /etc/exim4/update-exim4.conf.conf
i set dc_smarthost='smtp.myserver.ip::25
and in /etc/exim4/passwd.client i set
smtp.myserver.ip:[email protected]:mypassword
my problem is that i can't see any login at my mailserver, and in the exim logs i saw a few lines with
2012-10-13 09:17:01 1TMvy1-0001fp-F2 ** [email protected] R=nonlocal: Mailing to remote domains not supported
2012-10-13 09:17:01 1TMvy1-0001fr-JE <= <> R=1TMvy1-0001fp-F2 U=Debian-exim P=local S=17426
are there any additional config settings i have to set?
edit : i solved the prev. error by running dpkg-reconfigure, but now i'm facing the following error
<root@debian> R=dnslookup T=remote_smtp defer (-53): retry time not reached for any host