server-user  

Re: cannot send message using ssl

James User
Wed, 18 Nov 2009 00:02:00 -0800

My server runs smtp on port 465 (ssl) and port 25 (plain).
This may be quite important if you don't have a certificate signed by a trusted CA. The server to send a mail may refuse to proceed if it cannot verify the certificate. I think that can be important when sending mail too, but I don't know the SMTPS process in detail.

I would suggest you check out that Wiki article:
http://wiki.apache.org/james/UsingSSL

For me it worked fine.

Good luck.


Sincerely, ...




Xiaoyu Tang wrote:
I have tried smtp over ssl of 465, but it did not work.
--- On Tue, 11/17/09, Danny Angus <danny.an...@gmail.com> wrote:


From: Danny Angus <danny.an...@gmail.com>
Subject: Re: cannot send message using ssl
To: "James Users List" <server-user@james.apache.org>
Date: Tuesday, November 17, 2009, 5:22 AM


the normal port for smtp over ssl is 465, perhaps your client was
trying to use that port?

On Tue, Nov 10, 2009 at 1:26 PM, Xiaoyu Tang <xiaoyutang...@yahoo.com> wrote:
Thank you for your reply. I am finally settled with smtp:25 plain with pop3:995 
ssl, it works pretty well.

Best regards. Tom

--- On Tue, 11/10/09, Norman Maurer <nor...@apache.org> wrote:


From: Norman Maurer <nor...@apache.org>
Subject: Re: cannot send message using ssl
To: "James Users List" <server-user@james.apache.org>
Date: Tuesday, November 10, 2009, 6:40 AM


Hi Tom,

did you try to enable debugging for the smtpserver component in the
enviroment.xml file ? BTW, port 25 should not been use for SSL..

Bye,
Norman


2009/11/10 Xiaoyu Tang <xiaoyutang...@yahoo.com>:
Dear all,

I cannot send message using ssl by James. I set the smtp ssl port number to 25, 
pop3server ssl is 995, telnet admin ssl port is 4555. I can successfully check 
my email by ssl, but cannot send email by ssl.

To track the problem, I even register a ConnectionListener and 
TransportListener. Then I use the code:
SMTPSSLTransport transport = new SMTPSSLTransport(session, urln);
transport.connect();

The ConnectionListener gives a correct feedback, showing the connection is 
successfully established. But then, when I call the code:
transport.send(msg);

it gets stuck there, without any feedback.

Can anyone give a hand?
Thanks. Tom





---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org






---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org







---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org