Re: [xmail] Zombie connections / Should "SMTP=EERRS" not lead to close(socket) ?

2009-02-22 Thread Davide Libenzi
On Sun, 22 Feb 2009, Ralf wrote:

> If a connection dies then xmail logs this with an "SMTP=EERRS" remark in the
> logs/smtp* file.
> But the funny thing is: the connection keeps staying in the ESTABLISHED state
> in linux system properties, ie. "cat /proc/net/ip_conntrack" shows it like
> this:
> tcp  6 381341 ESTABLISHED src=x.x.135.50 dst=y.y.188.67 sport=1384
> dport=25 src=y.y.188.67 dst=x.x.135.50 sport=25 dport=1384 [ASSURED] use=1
> 
> These entries look like zombie connections, there's even no ping reply from
> them,
> and in this EASTABLISHED state they seem to stay forever it seems,
> because in the above example the log entry was yesterday
> and the net entry continues showing it even right now...
> 
> Can it be that the socket gets not closed by xmail after such an EERRS error?

EERRS is set when the number of errors goes beyond the maximum limit. 
Connection gets closed, and even if XMail goes back to reading client 
commands, there's a timeout (<= 90 sec IIRC) in the operation.


- Davide


___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


[xmail] Zombie connections / Should "SMTP=EERRS" not lead to close(socket) ?

2009-02-22 Thread Ralf
If a connection dies then xmail logs this with an "SMTP=EERRS" remark 
in the logs/smtp* file.

But the funny thing is: the connection keeps staying in the ESTABLISHED state
in linux system properties, ie. "cat /proc/net/ip_conntrack" shows it like this:
tcp  6 381341 ESTABLISHED src=x.x.135.50 dst=y.y.188.67 sport=1384 dport=25 
src=y.y.188.67 dst=x.x.135.50 sport=25 dport=1384 [ASSURED] use=1

These entries look like zombie connections, there's even no ping reply from 
them,
and in this EASTABLISHED state they seem to stay forever it seems,
because in the above example the log entry was yesterday
and the net entry continues showing it even right now...

Can it be that the socket gets not closed by xmail after such an EERRS error?
___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail