17 Aug
                
                    2011
                
            
            
                17 Aug
                
                '11
                
            
            
            
        
    
                9:02 p.m.
            
        Markus Borst wrote:
I have to cope with a very unusual imap server behavior, but maybe stunnel can help me: Can stunnel send an imap command ("XX LOGOUT"), just before closing the tcp session? [cut] Would it be possible to send such a command, or could this be added as a new feature?
It is definitely possible, although a clean implementation doesn't seem to be easy. I'm not sure if it's a good idea to keep such a feature in stunnel (KISS principle). Maybe it's better to write a separate proxy just for this purpose, and to chain it between stunnel and Mercury. Mike