[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fetchmail: SMTP connect to localhost failed: Connection refused



On Thu, Aug 19, 1999 at 04:57:43PM -0500, Stephen Pitts wrote:
> On Thu, Aug 19, 1999 at 08:52:48AM -0700, root wrote:

> > I'm doing a fresh slink install on a friend's old '486.  I've
> > installed fetchmail, but keep getting the error msg: fetchmail:
> > SMTP connect to localhost failed: Connection refused I edited
> > /etc/exim.conf and added 'localhost' and my hostname to
> > 'local_domains=' and restarted exim, but no change.

> Are you sure that exim is running? The default /etc/init.d/exim has a
> big 'exit 0' at the very top of the script?

Correct me if I'm wrong, but Exim is supposed to be run from inetd by
default (thus the 'big exit 0'). There are only certain cases where
you would want/need Exim running all the time...

> What does "ps aux | grep 'exim'" say?

On a system where Exim is run from inetd, it won't show up as running
in the process table unless there's a connection in progress...

In response to the original question, check your /etc/inetd.conf and
your /etc/hosts.{allow,deny} to make sure everything looks in
order. Try telnetting to the smtp port to check if it's Exim/inetd not
letting you connect, or whether fetchmail is misconfigured.

-- 
Matthew Gregan                                  kinetik@ihug.co.nz


Reply to: