On Thu, 29 Apr 2004 13:05:38 +0100, David West <[EMAIL PROTECTED]> wrote:
> [27/Apr/2004:01:42:28],#########################################
> 308 ServerOnException with connection to  caused Socket Error # 10058
> Cannot send or receive after socket is closed.
> [27/Apr/2004:01:42:28],308 - client said -><-
>         sCmd was -><-
>         exception class ->EIdSocketError<-
>         exception ->Socket Error # 10058
> Cannot send or receive after socket is closed.<-
>         progressStr ->terminated check 2<-        from ip 
> ->220.113.85.218<-       failed blacklist for ->220.113.85.218<- because 
> ->Sorry, we do not accept mail from %.<-
> 
> 
> What causes the error?

It's a bug where SMTPRCV tries to send or received from a closed port.
Because it's a blacklisted IP, it could be that the client dropped the
port after getting a 5xx message instead of issuing QUIT.


> Does it matter?

No not really.  Once the connection is closed it doesnt make any
difference whether it tries to use the port.  The next time it tests for
the active port will close the thread anyway.


> How can I stop it happening?

I need to go through the code and find the bit where it's trying to
read/write from the port.  I suspect that it could be the read waiting
for a command (scmd='' indicates that no command was issued) and the
client just dropped the connection.

I'll have a look when I'm next in the source code.

klint.

+---------------------------------------+-----------------+
: Klint Gore                            : "Non rhyming    :
: EMail   : [EMAIL PROTECTED]           :  slang - the    :
: Snail   : A.B.R.I.                    :  possibilities  :
: Mail      University of New England   :  are useless"   :
:           Armidale NSW 2351 Australia :     L.J.J.      :
: Fax     : +61 2 6772 5376             :                 :
+---------------------------------------+-----------------+
This is the discussion list for the IMS Free email server software.
  To unsubscribe send mailto:[EMAIL PROTECTED]

            Delivered by Rockliffe MailSite
           http://www.rockliffe.com/mailsite
                Rock Solid Software (tm)

Reply via email to