Hi Arnau, To be clear, you "Sends mail to a server with custom certificate"?
As I understand it James rejects the certificate as it is not signed by any certification authorities, and you wish James to trust that certificate. Can you confirm it? James uses javax.mail library to send emails to another server, using the sun implementation (tps://javaee.github.io/javamail/). I imagine some configuration can be performed at that level... See https://javaee.github.io/javamail/docs/api/com/sun/mail/smtp/package-summary.html mail.smtp.ssl.checkserveridentity might be related. You can pass additional "mail." properties to RemoteDelivery configuration. Example: <mailet matcher="All" class="RemoteDelivery"> ... <mail.smtp.userset>true</mail.smtp.userset> ... </mailet> This may help you. Cheers, Benoit Tellier On 12/12/18 6:50 PM, Arnau Rebassa wrote: > Hi all, > > We are using james 3.0.1 configured to use TLS in remote deliveries. The > sending of emails over TLS is working fine but we have problems sending > emails to a particular server which performs a “Certificate Request”. When > this happens, in a tcpdump capture I can see that, James returns an error > Alert (Level: Fatal, Description: Certificate Unknown). > > I have been looking into the documentation but I haven’t found the way to > specify a keystore in the mailetcontainer.xml. Is this possible? Anyone > knows how to fix this? > > Cheers! > --------------------------------------------------------------------- To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org For additional commands, e-mail: server-user-h...@james.apache.org