26 messages in net.sourceforge.lists.courier-usersRe: [courier-users] esmtp disconnect ...
FromSent OnAttachments
dick hoogendijkJul 19, 2005 2:32 pm 
Sam VarshavchikJul 19, 2005 4:34 pm 
di...@nagual.stJul 19, 2005 11:48 pm 
ArnoJul 20, 2005 12:12 am 
dick hoogendijkJul 20, 2005 8:13 am 
dick hoogendijkJul 20, 2005 8:18 am 
Tim HunterJul 20, 2005 8:33 am 
ArnoJul 20, 2005 9:53 am 
dick hoogendijkJul 20, 2005 1:00 pm 
dick hoogendijkJul 22, 2005 8:17 am 
Edwin L. CulpJul 22, 2005 9:52 am 
dick hoogendijkJul 22, 2005 11:22 am 
Mark BucciarelliJul 22, 2005 12:48 pm 
dick hoogendijkJul 22, 2005 2:03 pm 
Malcolm WeirJul 22, 2005 9:57 pm 
dick hoogendijkJul 24, 2005 3:38 am 
Sam VarshavchikJul 24, 2005 3:52 am 
dick hoogendijkJul 24, 2005 4:16 am 
Sam VarshavchikJul 24, 2005 11:47 am 
Dick HoogendijkJul 24, 2005 11:39 pm 
dick hoogendijkJul 30, 2005 10:46 am 
Thomas von HasselSep 16, 2005 1:36 am 
Jean-Christophe BoggioSep 16, 2005 1:43 am 
Thomas von HasselSep 16, 2005 2:01 am 
Dick HoogendijkSep 16, 2005 9:00 am 
Thomas von HasselSep 22, 2005 2:08 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] esmtp disconnect from serverActions...
From:Arno (ar@disconnect.de)
Date:Jul 20, 2005 9:53:16 am
List:net.sourceforge.lists.courier-users

Hi,

On Wednesday 20 July 2005 17:12, dick hoogendijk wrote: [snip]

I'm getting a little desperate. Really don't know where to look anymore. The installations of courier-0.50.1 run on two machines (a) pooh, 192.168.11.22 - FreeBSD-5.4 All runs perfectly !! (b) lothlorien, 192.168.11.1 - FreeBSD-4.11-stable Almost all runs smoothly

With "telnet pooh 25" I get: trying 192.168.11.22... Connected to pooh.nagual.st. Escape character is ']'. 220 naguals.st. ESMTP

With "telnet lothlorien 25" I get: trying 192.168.11.22... Connected to pooh.nagual.st. Escape character is ']'. Connection closed by foreign host

This is weird. It can't be. ESMTPD is running and should answer the telnet call. I disabled the firewall.. nothing.

Well, to be pedantic: It should be couriertcpd that is listening on the socket (or the inetd, I don't know how FreeBSD handles this, working w/ linux mostly). The couriertcpd accepts or refuses the connection, based on the contents of the file smtpaccess.dat, which in turn is generated from smtpaccess. If the connection is accepted, i. e. there's no 'deny'-statement in smtpaccess for that particular IP, the couriertcpd executes a courieresmtpd child which handles your connection.

Lothlorien seems to close the connection immediately after a connection attempt. This could mean the following:

1. There's a 'deny'-statement of some sort for 192.168.11.1 in smtpaccess 2. Your MAXPERIP and MAXPERC-Settings in esmtpd are too small 3. couriertcpd cannot execute courieresmtpd for some reason and therefor the connection is closed immediately 4. courieresmtpd is executed but fails prematurely and therefor the connection is closed immediately

Well, 3. and 4. can't really be the problem, since you said earlier that lothlorien is happily accepting mails from other boxes on the subnet.

If there are absolutely no indications about what's going wrong in your logs, your last resort is to trace the couriertcpd-process and look for failures:

strace -f -p <pid-of-couriertcpd>

Please, anybody, what am I overlooking??? It must be something small (and probably stupid)

Otherwise I'm out of ideas...

HTH and regards,