Joost Kraaijeveld wrote: > I want cron to deliver an e-mail throught exim to an Exchange server, > running on the same machine.
But using different smtp ports... or listening to different IP addresses? > If I use MAILTO="[EMAIL PROTECTED],user" in my crontab, both the remote > and the local user get the mail which is delivered in /var/mail/spool. > > If I use MAILTO="[EMAIL PROTECTED],[EMAIL PROTECTED]", the remote user > still gets his e-mail, but the mail the [EMAIL PROTECTED] is not > delivered to the local running Exchange server. The exim logfile shows > "[EMAIL PROTECTED] R=nslookup defer (-1) : remote host address is the > local host" and the next line say "Frozen" Perhaps with a specific route for your local_domain in exim.conf, something like: local_route: driver = manualroute transport = remote_smtp route_list = \ local_domain exchange.mail.server replace local_domain with the real domain, and exchange.mail.server with the address and port (if different than smtp). This rules has to go before the dnslookup one. > I have read the docs but I still do not understand how to make exim > deliver the mail for the [EMAIL PROTECTED] at the local exchange server. > Can anyone help me with this? What should I do to make this work? I haven't tested something like this, but the route_list is something I use to avoid the bounced mails from some servers that don't like my dynamic IP address. -- René Berber -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/