Setting up TLS when using Backend Server

9 views
Skip to first unread message

Prashant Bhivsane

unread,
Mar 13, 2024, 5:20:46 PMMar 13
to Mireka mail server and SMTP proxy
I want to send the emails via a Backend server, I did setup the Backend server with required SMTP details, I am not able to understand where to enable the SSL

here is the excerpt from the log: 

2024-03-13 11:33:58,283 [587] [] DEBUG o.s.s.c.SMTPClient Server: 250-STARTTLS
2024-03-13 11:33:58,283 [587] [] DEBUG o.s.s.c.SMTPClient Server: 250-AUTH PLAIN LOGIN
2024-03-13 11:33:58,283 [587] [] DEBUG o.s.s.c.SMTPClient Server: 250 Ok
2024-03-13 11:33:58,284 [587] [] DEBUG o.s.s.c.SMTPClient Client: AUTH PLAIN AEFLSUFSSUdJRUZASWFASSDWFVXAWEFASPOOSANX>
2024-03-13 11:33:58,421 [587] [] DEBUG o.s.s.server.Session Server: 530 Must issue a STARTTLS command first - Backend rejected connection>
2024-03-13 11:33:58,448 [587] [] DEBUG o.s.s.server.Session Client: QUIT
2024-03-13 11:33:58,448 [587] [] DEBUG o.s.s.server.Session Server: 221 Bye

Could someone point me in the right direction? Not able understand where I went wrong.

I even tried using the jks

HONTVÁRI Levente

unread,
Mar 13, 2024, 5:31:54 PMMar 13
to mir...@googlegroups.com
Hi,

I had success with modifying the service file to include java system properties related to TLS.

Specifically the resulting command line is like this:

java -Djavax.net.ssl.keyStore=conf/keystore.jks -Djavax.net.ssl.keyStorePassword=PASSWORD ...
--

---
You received this message because you are subscribed to the Google Groups "Mireka mail server and SMTP proxy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mireka+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mireka/92ed7462-c70c-495a-9604-5190afa8037bn%40googlegroups.com.


Reply all
Reply to author
Forward
0 new messages