X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: =?ISO-8859-1?Q?Ren=E9_Berber?= Subject: Re: Exim / cron question Date: Sun, 01 Oct 2006 22:27:52 -0500 Lines: 44 Message-ID: References: <1159756027 DOT 5314 DOT 11 DOT camel AT panoramix> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) In-Reply-To: <1159756027.5314.11.camel@panoramix> OpenPGP: url=hkp://random.sks.keyserver.penguin.de X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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=3D"user AT remote_domain,user" in my crontab, both the remote > and the local user get the mail which is delivered in /var/mail/spool. >=20 > If I use MAILTO=3D"user AT remote_domain,user AT local_domain", the remote user > still gets his e-mail, but the mail the user AT local_domain is not > delivered to the local running Exchange server. The exim logfile shows > "user AT local_domain R=3Dnslookup 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 =3D manualroute transport =3D remote_smtp route_list =3D \ local_domain exchange.mail.server replace local_domain with the real domain, and exchange.mail.server with th= e 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 user AT local_domain 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. --=20 Ren=E9 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/