[asterisk-bugs] [Asterisk 0013973]: Different IMAP settings for realtime and static config setups

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 28 14:50:50 CST 2009


The following issue has been CLOSED 
====================================================================== 
http://bugs.digium.com/view.php?id=13973 
====================================================================== 
Reported By:                qualleyiv
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   13973
Category:                   Applications/app_voicemail/IMAP
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.1-beta1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-11-25 23:23 CST
Last Modified:              2009-01-28 14:50 CST
====================================================================== 
Summary:                    Different IMAP settings for realtime and static
config setups
Description: 
I've looked at this for a LONG time. If I missed something obvious, please
forgive me. I've made every effort not to report something that isn't a
bug. First, here's my setup:

I'm running 1.6.1-beta2 with the latest SVN version of Addons 1.6.1. on a
PPC XServe running OS X 10.5.5

I'm using IMAP voicemail with individual users/passwords (no master user).
Everything is working fine when I pull the voicemail users from a mysql
table using the mysql realtime addon. However, when I switch to using a
static config file, asterisk can't connect to my mail server:

[Nov 25 22:58:57] WARNING[52389] app_voicemail.c: IMAP Warning: Kerberos
error: No credentials cache found (try running kinit) for
mail.midwestdjs.com
[Nov 25 22:58:57] ERROR[52389] app_voicemail.c: IMAP Error: IMAP
Authentication cancelled
[Nov 25 22:58:57] ERROR[52389] app_voicemail.c: Houston we have a problem
- IMAP mailstream is NULL
[Nov 25 22:58:57] WARNING[52389] app_voicemail.c: IMAP Warning: Kerberos
error: No credentials cache found (try running kinit) for
mail.midwestdjs.com
[Nov 25 22:59:00] WARNING[52389] app_voicemail.c: IMAP Warning: Retrying
CRAM-MD5 authentication after Error authenticating
[Nov 25 22:59:03] WARNING[52389] app_voicemail.c: IMAP Warning: Retrying
CRAM-MD5 authentication after Error authenticating

Normally, when I'm using realtime, I still get this error occassionally:

[Nov 25 22:58:57] WARNING[52389] app_voicemail.c: IMAP Warning: Kerberos
error: No credentials cache found (try running kinit) for
mail.midwestdjs.com

But everything still works out. 

A little more about my mailserver setup: the only authentication methods I
have turned on is CRAM-MD5 and Kerberos. I've tried almost every
combination of settings including no-tls, novalidate-cert and setting
imapport=993 (which is the port I use for authentication on my normal mail
clients). That gives me the following error:

[Nov 25 22:19:08] ERROR[51662] app_voicemail.c: IMAP Error: Connection
failed to mail.midwestdjs.com,993: Operation timed out
[Nov 25 22:19:08] ERROR[51662] app_voicemail.c: Can't connect to imap
server {mail.midwestdjs.com:993/imap/user=tlbetsey}INBOX

When using realtime, it looks to me like it tries to authenticate on port
143, fails and then does something else (not sure what exactly) which
succeeds. When I switch to a static config, it seems to stop doing that. 

In any case, I'm sure I haven't given all the information necessary. Just
ask and I'll post more info ASAP. Thanks in advance for the assistance.
====================================================================== 

---------------------------------------------------------------------- 
 (0098980) blitzrage (administrator) - 2009-01-28 14:50
 http://bugs.digium.com/view.php?id=13973#c98980 
---------------------------------------------------------------------- 
Closing this issue as suspended as the reporter is no longer able to
provide the information. If anyone else is able to provide it, then please
request to have this issue re-opened by a bug marshal. You can find one in
#asterisk-bugs on the IRC network irc.freenode.net. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-28 14:50 blitzrage      Note Added: 0098980                          
2009-01-28 14:50 blitzrage      Status                   feedback => closed  
======================================================================




More information about the asterisk-bugs mailing list