I just updated the bug with some additional information, but I thought I'd share how to turn on STARTTLS through Zimbra Desktop:
Add the following to your localconfig.xml
<key name="javamail_smtp_enable_starttls">
<value>true</value>
</key>
However, I now get a different problem when trying to send email from this exchange account:
2008-04-05 23:15:33,085 WARN [sync-timer-user@somemeailserver.com] [] smtp - exception occurred during SendMsg
com.zimbra.cs.mailbox.MailSender$SafeMessagingExce ption: Default SSL context init failed: null; chained exception is:
java.net.SocketException: Default SSL context init failed: null
at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTrans port.java:1326)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SM TPTransport.java:407)
at javax.mail.Service.connect(Service.java:297)
at javax.mail.Service.connect(Service.java:156)
at javax.mail.Service.connect(Service.java:105)
at javax.mail.Transport.send0(Transport.java:168)
at javax.mail.Transport.send(Transport.java:98)
at com.zimbra.cs.mailbox.MailSender.sendMessage(MailS ender.java:428)
at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(M ailSender.java:248)
at com.zimbra.cs.mailbox.LocalMailbox.sendPendingMess ages(LocalMailbox.java:155)
at com.zimbra.cs.mailbox.LocalMailbox.sync(LocalMailb ox.java:293)
at com.zimbra.cs.mailbox.LocalMailbox.syncOnTimer(Loc alMailbox.java:236)
at com.zimbra.cs.mailbox.DesktopMailbox$1.run(Desktop Mailbox.java:85)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)
2008-04-05 23:15:33,088 DEBUG [sync-timer-user@somemeailserver.com] [] offline - smtp: failed to send mail (385): ZMail helloworld
com.zimbra.common.service.ServiceException: system failure: MessagingException
ExceptionId:mylaptop:sync-timer-user@somemeailserver.com:1207455333087:978a898074c eac46
Code:service.FAILURE
at com.zimbra.common.service.ServiceException.FAILURE (ServiceException.java:217)
at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(M ailSender.java:315)
at com.zimbra.cs.mailbox.LocalMailbox.sendPendingMess ages(LocalMailbox.java:155)
at com.zimbra.cs.mailbox.LocalMailbox.sync(LocalMailb ox.java:293)
at com.zimbra.cs.mailbox.LocalMailbox.syncOnTimer(Loc alMailbox.java:236)
at com.zimbra.cs.mailbox.DesktopMailbox$1.run(Desktop Mailbox.java:85)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)
Caused by: com.zimbra.cs.mailbox.MailSender$SafeMessagingExce ption: Default SSL context init failed: null; chained exception is:
java.net.SocketException: Default SSL context init failed: null
at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTrans port.java:1326)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SM TPTransport.java:407)
at javax.mail.Service.connect(Service.java:297)
at javax.mail.Service.connect(Service.java:156)
at javax.mail.Service.connect(Service.java:105)
at javax.mail.Transport.send0(Transport.java:168)
at javax.mail.Transport.send(Transport.java:98)
at com.zimbra.cs.mailbox.MailSender.sendMessage(MailS ender.java:428)
at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(M ailSender.java:248)
... 6 more
2008-04-05 23:15:33,088 INFO [sync-timer-user@somemeailserver.com] [] offline - SMTP send failure: ZMail helloworld
I've been through the source forward and back and can't seem to figure it out. I also have a small test program that works fine.
Any thoughts?
Does anybody have zimbra desktop working with Exchange Server 2003?
Thanks in advance. |