[asterisk-bugs] [Asterisk 0011151]: IMAP: Mailbox does not exist

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Nov 2 15:58:54 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11151 
====================================================================== 
Reported By:                selsky
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   11151
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-02-2007 13:53 CDT
Last Modified:              11-02-2007 15:58 CDT
====================================================================== 
Summary:                    IMAP: Mailbox does not exist
Description: 
I have voicemail.conf configured with "imapfolder=voicemail", but I still
get error messages in my logs:

[Nov  2 14:46:15] ERROR[25200] app_voicemail.c: IMAP Error: Mailbox does
not exist

My Cyrus telemetry logs have this:

<1194028379<00000003 SELECT INBOX
>1194028379>00000003 NO Mailbox does not exist

Why is Asterisk trying to select my INBOX when I have an imap folder
explicitly defined?
====================================================================== 

---------------------------------------------------------------------- 
 putnopvut - 11-02-07 15:58  
---------------------------------------------------------------------- 
And as soon as I posted that last comment, I realized what was going on...

A LIST is actually already used to get the delimiter, but in order to
execute this, you have to have a mailstream to operate on. In order to get
a mailstream, Asterisk attempts to connect to the INBOX mailbox.

Unless I'm missing something here, this seems somewhat silly, and we
should just use the folder specified in voicemail.conf instead every time
we connect.

Patch forthcoming. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-02-07 15:58  putnopvut      Note Added: 0073020                          
======================================================================




More information about the asterisk-bugs mailing list