[xmail] tls

2014-01-05 Thread Spyros Tsiolis
Hello all,

Does XMail support TLS ?
Any pointers ?

Best,

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


Re: [xmail] tls

2014-01-05 Thread Bart Mortelmans

Spyros Tsiolis schreef op 5/01/14 20:30:

Does XMail support TLS ?

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


[xmail] TLS connections stop working

2010-09-30 Thread Stephan Mueller
Hi all,

I upgraded my installation to xmail 1.27 with OpenSSL 0.9.8o - previously I 
used 1.27 with some older version of OpenSSL.

I have the strange scenario that TLS connections do not work any more. To be 
precise, I can connect via TLS and the TLS negotiation takes place -- I tested 
it with openssl s_client -starttls pop3 -connect and openssl s_client -
starttls smtp -connect.

However, immediately after the successful negotiation, the server terminates 
the connection without leaving any log. Even the debug logging does not show 
anything.

The commands above show (where key outputs show the SSL keys from the 
server):

 key outputs ...
---
+OK 1285833907.22...@eperm.de [XMail 1.27 POP3 Server] service ready; Thu, 
30 Sep 2010 10:05:07 +0200
closed

 key outputs ...
---
250 STARTTLS
closed

You see that the server replies with a successful TLS establishment and it 
replies that communication can commence. However, the connection is terminated 
immediately.

Non-TLS communication works flawlessly.

Do you have any ideas or suggestions on how to debug that? Note that even with 
strace, I do not see anything (there are two writes the server performs, but 
that is it).

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


[xmail] TLS section

2009-10-27 Thread sergio . casagrande
Hi all,
I am trying to use xmail TLS configuration and I am having these problems:
I try to use this command to test TLS connection (is it right?):
openssl s_client -starttls smtp -crlf -connect traiano.telsey.it:25
and I received this error:
CONNECTED(0003)
3821:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake 
failure:s23_lib.c:188:
In xmail debug console:
SMTP failed to STARTTLS (ip address)
SMTP client exit (ip address)

My environment is:
Ubuntu server 9.04
xmailserver 1.27pre01
openssl OpenSSL 0.9.8g 19 Oct 2007

Where have I a mistake?
Than you.
Bye

Sergio bh


__

--- NOTICE ---

This  email  and  any  attachments  are  confidential and are intended for the
addressee  only.  If you have received this message by mistake, please contact
us  immediately and  then  delete the message from your system.   You must not
copy, distribute, disclose  or  act upon the contents of this email.  Personal
and corporate data submitted will be used in a correct, transparent and lawful
manner. The data collected will be processed in paper or computerized form for
the  performance  of  contractual  and  lawful  obligations as well as for the
effective  management of business relationship.   The data processor is Telsey
S.p.A.   The  data  subject may exercise all the rights set forth in art. 7 of
Law  by  Decree  30.06.2003  n.  196   as   reported   in  the  following  url
http://www.telsey.com/privacy.asp.

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


Re: [xmail] TLS section

2009-10-27 Thread Davide Libenzi
On Tue, 27 Oct 2009, sergio.casagra...@telsey.it wrote:

 Hi all,
 I am trying to use xmail TLS configuration and I am having these problems:
 I try to use this command to test TLS connection (is it right?):
 openssl s_client -starttls smtp -crlf -connect traiano.telsey.it:25
 and I received this error:
 CONNECTED(0003)
 3821:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake 
 failure:s23_lib.c:188:
 In xmail debug console:
 SMTP failed to STARTTLS (ip address)
 SMTP client exit (ip address)
 
 My environment is:
 Ubuntu server 9.04
 xmailserver 1.27pre01
 openssl OpenSSL 0.9.8g 19 Oct 2007
 
 Where have I a mistake?

Try to apply the patch below, and show the XMail debug message again ...


- Davide



diff --git a/SMTPSvr.cpp b/SMTPSvr.cpp
index d71eb91..7d4f28f 100644
--- a/SMTPSvr.cpp
+++ b/SMTPSvr.cpp
@@ -2350,8 +2350,8 @@ static int SMTPHandleCmd_STARTTLS(char const *pszCommand, 
BSOCK_HANDLE hBSock, S
ErrorPush();
if (SMTPLogEnabled(SMTPS.pThCfg-hThShb, SMTPS.pSMTPCfg))
SMTPLogSession(SMTPS, , , SMTP=ESSL, 0);
-   SysLogMessage(LOG_LEV_MESSAGE, SMTP failed to STARTTLS [%s]\n,
- SysInetNToA(SMTPS.PeerInfo, szIP, sizeof(szIP)));
+   SysLogMessage(LOG_LEV_MESSAGE, SMTP failed to STARTTLS (%d) 
[%s]\n,
+ iError, SysInetNToA(SMTPS.PeerInfo, szIP, 
sizeof(szIP)));
SMTPS.iSMTPState = stateExit;
 
return ErrorPop();
___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


[xmail] TLS connection logging?

2009-08-24 Thread Chris Evans
All,

Is there any way of knowing if xmail made a TLS connection for a particular 
message? I've not seen anything in the log files or added to the message header 
as with some other SMTP servers.

Thanks
Chris


Gloucester Research Limited believes the information provided herein is 
reliable. While every care has been taken to ensure accuracy, the information 
is furnished to the recipients with no warranty as to the completeness and 
accuracy of its contents and on condition that any errors or omissions shall 
not be made the basis for any claim, demand or cause for action.
The information in this email is intended only for the named recipient.  If you 
are not the intended recipient please notify us immediately and do not copy, 
distribute or take action based on this e-mail.
All messages sent to and from this email address will be logged by Gloucester 
Research Ltd and are subject to archival storage, monitoring, review and 
disclosure.
Gloucester Research Limited, 5th Floor, Whittington House, 19-30 Alfred Place, 
London WC1E 7EA.
Gloucester Research Limited is a company registered in England and Wales with 
company number 04267560.


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


Re: [xmail] TLS connection logging?

2009-08-24 Thread Davide Libenzi
On Mon, 24 Aug 2009, Chris Evans wrote:

 Is there any way of knowing if xmail made a TLS connection for a particular 
 message? I?ve not seen anything in the log files or
 added to the message header as with some other SMTP servers.

Not at the moment. I might look into it, to see how messy it'd be to 
implement.


- Davide


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


Re: [xmail] TLS connection logging?

2009-08-24 Thread David Lord
On 24 Aug 2009 at 11:50, Chris Evans wrote:

 All,
 
 Is there any way of knowing if xmail made a TLS connection for a particular 
 message? I've not seen anything in the log files or added to the message 
 header as with some other SMTP servers.
 
 Thanks
 Chris
 

I've seen an Xauth header and took it to be that, however
I'd like to see something in a logfile (maybe there is and
I can't spot it) or a separate log file.

David

 
 Gloucester Research Limited believes the information provided herein is 
 reliable. While every care has been taken to ensure accuracy, the information 
 is furnished to the recipients with no warranty as to the completeness and 
 accuracy of its contents and on condition that any errors or omissions shall 
 not be made the basis for any claim, demand or cause for action.
 The information in this email is intended only for the named recipient.  If 
 you are not the intended recipient please notify us immediately and do not 
 copy, distribute or take action based on this e-mail.
 All messages sent to and from this email address will be logged by Gloucester 
 Research Ltd and are subject to archival storage, monitoring, review and 
 disclosure.
 Gloucester Research Limited, 5th Floor, Whittington House, 19-30 Alfred 
 Place, London WC1E 7EA.
 Gloucester Research Limited is a company registered in England and Wales with 
 company number 04267560.
 
 
 


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