Summary: | ASTERISK-14465: app_voicemail cannot connect to IMAP server | ||
Reporter: | Robert Grignon (rgrignon) | Labels: | |
Date Opened: | 2009-07-14 07:56:04 | Date Closed: | 2011-06-07 14:00:42 |
Priority: | Major | Regression? | Yes |
Status: | Closed/Complete | Components: | Applications/app_voicemail/IMAP |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Using version 1.4.25.1 with and higher causes Certificate Failure with dovecot using PLAIN authentication ****** ADDITIONAL INFORMATION ****** Centos 5.2 using imap-2007e dovecot using no ssl and plain authentication 1.4.21.1 Does not show this problem, once upgrading to 1.4.25.1 through 1.4.26-rc5 I can replicate the following: [Jul 14 07:47:35] ERROR[22140]: app_voicemail.c:1753 mm_log: IMAP Error: Certificate failure for localhost: self signed certificate: /OU=IMAP server/CN=imap.example.com/emailAddress=postmaster@example.com [Jul 14 07:47:35] ERROR[22140]: app_voicemail.c:1520 init_mailstream: Can't connect to imap server {localhost:143/imap/authuser=druid/user=6500}INBOX [Jul 14 07:47:35] ERROR[22140]: app_voicemail.c:1554 open_mailbox: Could not initialize mailstream | ||
Comments: | By: Brandon Height (lasko) 2009-07-14 13:17:57 Could you attach your asterisk/voicemail.conf contents. I'm curious to see what you have setup for your settings. By: Robert Grignon (rgrignon) 2009-07-15 10:32:33 It turned out to be a dovecot and voicemail.conf config change. For some reason even though I was using PLAIN authentication, asterisk 1.4.24.1 and higher started handing out TLS Handshakes. I was able to resolve this by adding imapflags=notls to voicemail.conf and adding self signed certs to dovecot... By: Brandon Height (lasko) 2009-07-15 10:57:34 Glad to hear it's been resolved and was something simple. |