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 <[email protected]> wrote:


From: Danny Angus <[email protected]>
Subject: Re: cannot send message using ssl
To: "James Users List" <[email protected]>
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 <[email protected]> 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 <[email protected]> wrote:


From: Norman Maurer <[email protected]>
Subject: Re: cannot send message using ssl
To: "James Users List" <[email protected]>
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 <[email protected]>:
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: [email protected]
For additional commands, e-mail: [email protected]






---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]







---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to