Re: Setting up of mail certificates on James

Benoit TELLIER <[email protected]> Wed, 20 Nov 2024 21:27:05 +0000
Newsgroups gmane.comp.jakarta.james.user
Message-ID <[email protected]>
Hi,

Yes self signed certificats can be the source of your troubbles.

I suggest you to go along with let's encrypt ACME wich works great and is easy to use - and free of charge.

-- 

Best regards,

Benoit TELLIER

General manager of Linagora VIETNAM.
Product owner for Team-Mail product.
Chairman of the Apache James project.

Mail: [email protected]
Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal)


On Nov 20, 2024 7:48 PM, from [email protected] all, 

 

I struggle with mail certificates with James, and general setup. I use
Apache on Windows. 

 

I made self signed certificates using keytool: 

keytool -genkey -alias xyz -keyalg RSA -keystore conf/keystore

 

I setup ports 993 for incoming and 465 for outgoing with login and
configured in the imapserver and smtpserver configuration files. 

 

I can receive or send emails on outlook in Windows. I can receive and send
emails on Outlook on iPhone but I don't receive new mail notifications. 

When I setup the email on my iphone with Mail or Gmail I struggle to
configure the accounts; only works on iPhone in Outlook. I managed to make
it working with Mail but somehow stopped working at some point. 

 

I am not sure if the self signed certificate is the issue or the James
configuration, or else. Perhaps I should submit a certificate to the
certificate authority, but I have failed so far it is quite complicated. 

 

*	Can anyone suggest on where and how to configure the mail server
address in James? 

*	I configured in domainlist.xml but unsure if setup correctly

*	Anyone had success or similar issues with certificates? 

*	Are self-signed certificates okay? 

*	Anyone know how to submit certificates to  certificate authority?

 

I followed this for the most part:

james.apache.org/server/config-ssl-tls.html

 

Kind regards, Cordialement, 

Guy