You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Saibabu Vallurupalli <sa...@gmail.com> on 2013/10/31 01:09:26 UTC

Unable to send mail using SSL/TLS

Hi All,

I configured James 3 Beta 3 to use SSL/TLS followed the instructions (1)
and (2).

After starting the server , I am able to send receive emails on port 465
using SMTP on SSL/TLS.

If I try to send a mail to another server it is always trying to connect to
the remote server on port 25. The other server also uses port 465 and they
have blocked port 25.
So, my remote delivery is not happening. Is there any other configuration
with in James which uses secured port 465 and send email.

Also, Since I know the Remote server doesn't have port 25 open I can force
to use 465. In a real world scenarion is this not a default configuration
to try sending email on port 25 and then try other secured port like 465.

Please advise.

(1) : http://james.apache.org/server/3/config-ssl-tls.html
(2): http://james.apache.org/server/3/config-smtp-lmtp.html

Thank you,
Sai

Re: Unable to send mail using SSL/TLS

Posted by Eric Charles <er...@apache.org>.
Use the gatewayPort attribute in RemoteDelivery mailet (in 
mailetcontainer.xml)

http://james.apache.org/server/3/dev-provided-mailets.html#RemoteDelivery


On 31/10/13 01:09, Saibabu Vallurupalli wrote:
> Hi All,
>
> I configured James 3 Beta 3 to use SSL/TLS followed the instructions (1)
> and (2).
>
> After starting the server , I am able to send receive emails on port 465
> using SMTP on SSL/TLS.
>
> If I try to send a mail to another server it is always trying to connect to
> the remote server on port 25. The other server also uses port 465 and they
> have blocked port 25.
> So, my remote delivery is not happening. Is there any other configuration
> with in James which uses secured port 465 and send email.
>
> Also, Since I know the Remote server doesn't have port 25 open I can force
> to use 465. In a real world scenarion is this not a default configuration
> to try sending email on port 25 and then try other secured port like 465.
>
> Please advise.
>
> (1) : http://james.apache.org/server/3/config-ssl-tls.html
> (2): http://james.apache.org/server/3/config-smtp-lmtp.html
>
> Thank you,
> Sai
>

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