From: Mark Phillips <[EMAIL PROTECTED]> Subject: Re: fetchmail: SMTP connect to localhost failed Date: Fri, 24 Sep 1999 16:41:24 +0930 (CST)
> On Fri, 24 Sep 1999, nate wrote: > > > you sure you got a MTA running on localhost ? such as sendmail qmail or > > something similar (telnet localhost 25 to test) > > # telnet localhost 25 > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > Connection closed by foreign host. > > This doesn't look too good does it??? > > I am using exim. Does it have a daemon running that checks for incoming? > When I do "ps aux | grep exim" it doesn't find anything and when I do > "/etc/init.d/exim restart" it doesn't fix anything. > > Thanks for your help. > > Mark. > take a look in /etc/init.d/exim: ... # Usually this is disabled and exim runs from /etc/inetd.conf exit 0 ^ |------------- EXIM would be spawned by inetd DAEMON=/usr/sbin/exim NAME=exim test -x $DAEMON || exit 0 case "$1" in start) update-inetd --disable smtp ... now look in /etc/inetd.conf: ... #:MAIL: Mail, news and uucp services. smtp stream tcp nowait mail /usr/sbin/exim exim -bs ... in the Debian's default config, the "smtp" line is commented out!!! I.e: In the default Debian configuration, EXIM (the default MTA) would be spawned by inetd but inetd by default deosn't accept SMTP connection. -- Linh Dang