On 15 Oct 2003 at 8:41, Jeff Jansen wrote: > On Wednesday 15 October 2003 06:54, Bernd Kohlmaier wrote: > > My esmtproutes file contains one line (for the smarthost): > > :mail.isp.com > > > > In my option, courier should now send every mail for "the world" > > through this relay, but it seems courier ignores this file. No > > matter, what i add to this file, courier always tries to send the > > messages directly. which results in an DNS error. > > > > Here are the lines from my mail log file: > > > > courierd: > > started,id=0001A519.3F8C0811.00000C32,from=<hidden>,module=esmtp,hos > > t=gmx.a > >t,addr=<[EMAIL PROTECTED]> courierd: Waiting. shutdown > >time=none, > > wakeup time=Wed Oct 15 08:32:26 2003, queuedelivering=3, > > inprogress=2 courieresmtp: > > id=000167E5.3F8BFE15.0000099C,from=<hidden>,addr=<[EMAIL PROTECTED] > > x.at>: DNS lookup failed. courieresmtp: > > id=000167E5.3F8BFE15.0000099C,from=<hidden>,addr=<[EMAIL PROTECTED] > > x.at>,s > >tatus: deferred courierd: completed,id=000167E5.3F8BFE15.0000099C > > The log may not mean what you think. The "host=gmx.at" does NOT mean > that courier is trying to send to that host. This is just the mail host > that was set when the message was received. Later when courier tries to > send the message then a route in esmtproutes will override this and > courier will send to the host listed in esmtproutes. So when the > message is sent what you see in the logs is that the message was > actually accepted for delivery by "mail.isp.com" and not the host listed > in the "host=" line. > > So are you SURE that courier is ignoring the esmtproutes file? Send a > message and then do a "ps ax | grep courieresmtp". You should see a > line that says > > courieresmtpd 0 mail.isp.com
my line is the following: courieresmtp 0 gmx.at > Which means that courier is trying to send your message through the > relay and not directly. (This assumes we solve the dns issue first. If > courier can't do a lookup on the mail server then it can't send > anything.) A telnet to my relay works fine. So the DNS should be no problem. > Check out whether you can get an ip address for your smart host. If > courier is getting a DNS error here it probably means it can't do a > lookup on the smart host. Can you do a dns lookup successfully on your > smart host? > -- NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse für Mail, Message, More! +++ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users