ZWC can't configure external IMAP account

Post feedback about our hosted demo or your local install. Tell us what you love and/or what you’d like to see added in the future.
Post Reply
Patrick Timmons
Posts: 7
Joined: Fri Sep 12, 2014 11:52 pm
Location: Montreal, Qc, Canada
ZCS/ZD Version: 8.8.15 OSE

ZWC can't configure external IMAP account

Post by Patrick Timmons »

Hi.
I'm trying to access an external IMAP account through ZWC but it is not working.
I enter all the parameters correctly and when I click on "Test Settings" I get the following error:
"Error: * BYE JavaMail Exception: java.net.SocketException: Socket closed"
I traced the connection between Zimbra and the external server and could see that although I didn't ask for SSL, Zimbra attempts a STARTTLS command. I guess it doesn't like the server's self-signed certificate and I can't find where I should put the certificate on the Zimbra server.
Thanks.
Zimbra server 5.0.23 X64 on Linux Redhat Enterprise Server 5.3 X64.
david_campbell
Posts: 5
Joined: Sat Sep 13, 2014 2:07 am

ZWC can't configure external IMAP account

Post by david_campbell »

Trying to connect to an IMAP host with self-signed cert and it complains about a mismatch and won't allow it to be added.
I found this on another post:
zmlocalconfig -e 'data_source_trust_self_signed_certs=true'

and or

zmlocalconfig -e javamail_imap_enable_starttls=false
restart mailboxd
Second one worked for me.
User avatar
dominix
Advanced member
Advanced member
Posts: 51
Joined: Sat Sep 13, 2014 1:07 am
Location: Pacific sud
ZCS/ZD Version: 7.2.7 ... 8.8.15 ... 9.0.0

ZWC can't configure external IMAP account

Post by dominix »

thanks ! this one helped me.
Post Reply