Subject: fetchmail and telnet will not talk to localhost port 25
To: NetBSD Help <NetBSD-help@NetBSD.ORG>
From: Dave Millen <root@globalnet.co.uk>
List: netbsd-help
Date: 07/29/1998 17:54:39
Hi,

I have successfully installed fetchmail and have sendmail configured as a
daemon with '-bm -q30m' flags and the smtp mail host at my internet
connction as the 'smart' relay, which works fine for sending mail.

/etc/services shows smtp on port 25 as expected and is not commented out.

fetchmail works to the point of trying to deliver locally and then fails:

	oak# fetchmail mail.globalnet.co.uk
	4 messages for dmill at mail.globalnet.co.uk (7953 bytes).
	reading message 1 of 4 (1717 bytes) .fetchmail: SMTP connect to localhost failed: Connection refused
	fetchmail: SMTP transaction error while fetching from mail.globalnet.co.uk
	fetchmail: Query status=10
	oak#

The fetchmail documentation says to check the following:

	oak# telnet localhost 25
	Trying 127.0.0.1...
	telnet: Unable to connect to remote host: Connection refused
	oak#

So as a check:

	oak# telnet localhost
	Trying 127.0.0.1...	
	Connected to localhost.
	Escape character is '^]'.

	NetBSD/arm32 (oak.largesalad.co.uk) (ttyp1)

	login: root
	Password:
 
The problem seems to be within sendmail, but I can't pin it down :(

Can anyone point me at the mis-configuration?

TIA
Dave

--
Customer:          'I'm using Windows '95 and Internet Explorer 4'
Technical Support: 'Yeeeeees............'
Customer;          'My computer won't run'
Technical Support: 'You just said that!'