Ok, if we want to connect to a gateway server.

I was instead talking about connecting to the final SMTP receiver based on the MX records, not to the gateway. This way RemoteDelivery will *always* use TLS and connect on port 465, isn't it? What happens if the peer server works only on plain port 25 without TLS? There should be a fallback behaviour, that I think is not yet implemented.

Vincenzo

Stefano Bagnara wrote:
In the JAMES Server 2.3.1 (we will probably announce its availability
tomorrow) you can try using this extra parameters in RemoteDelivery mailet:
----
<mail.smtp.port>465</mail.smtp.port>
<mail.smtp.starttls.enable>true</mail.smtp.starttls.enable>
<mail.smtp.auth>true</mail.smtp.auth>
<mail.smtps.auth>true</mail.smtps.auth>
<mail.smtp.socketFactory.port>465</mail.smtp.socketFactory.port>
<mail.smtp.socketFactory.class>javax.net.ssl.SSLSocketFactory</mail.smtp.socketFactory.class>
<mail.smtp.socketFactory.fallback>false</mail.smtp.socketFactory.fallback>
---
Probably you need only a subset of this one, and I never tested it, so
I'm just guessing.

If you try it and if it works let us know exactly how you configured it
so we can add documentation for this.

Stefano

Jeffrey Metcalf ha scritto:
Hi All,

I know that in james 2.3.0 it is now possible to authenticate against a
gateway server with a username and pasword in the RemoteDelivery
mailet.  Is it also possible to set up TLS for this connection to
satisfy those ISPs that demand an SSL connection to their SMTP gateways
(typically on port 465)?  If so, what are the high-level steps I would
have to take?  If there is already bolierplate documentation for this
somewhere that I have overlooked, please feel free to forward me there.

Cheers,

-Jeff



---------------------------------------------------------------------
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