On Fri, 31 Aug 2007, Davide Libenzi wrote:
> On Fri, 31 Aug 2007, Oliver Stöneberg wrote:
> 
> > > On Fri, 10 Aug 2007, Oliver St=F6neberg wrote:
> > > > Hi,
> > > > 
> > > > we recently started using the TLS features of the XMail and during a 
> > > > tcpdump session, someone discovered an issue. After the communication 
> > > > is done and the communication should be closed the sending XMail will 
> > > > send a RST, instead of closing the connection properly. The mail is 
> > > > being send properly, but I have been told this behavior might cause 
> > > > problems with some firewalls. 
> > > > We also tried it without TLS and the connection is properly closed.
> > > > 
> > > > This happened with the final 1.24 on Linux and Windows between two 
> > > > XMails.
> > > > 
> > > > I checked the code, but didn't see anything TLS specified that might 
> > > > causing this problem. Any help or idea is appreciated.
> > > 
> > > Can you try to replace the:
> > > 
> > >     SSL_shutdown(pCtx->pSSL);
> > > 
> > > at line 227 of SSLBind.cpp with:
> > > 
> > >     if (SSL_shutdown(pCtx->pSSL) =3D=3D 0)
> > >         SSL_shutdown(pCtx->pSSL);
> > > 
> > > and let me know?
> > > 
> > > 
> > > 
> > > - Davide
> > 
> > I changed the line and the problem still occurs. I also read the 
> > documentation on that function and debugged that part of the XMail 
> > code on the sending side and the SSL_shutdown will always return 0. I 
> > even did a while loop with that argument and it never returned 
> > something else. Maybe there is something wrong on the side of the 
> > receiving server. After all this is a communication between two 
> > XMails.
> 
> Can you try to remove the SSL_shutdown() altogheter?

Well, XMail is not alone, it seems:

http://www.mailarchive.ca/lists/comp.mail.sendmail/2005-05/0184.html

Likely an OpenSSL problem. Will look into it ...



- Davide


-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to