[Home]

Summary:ASTERISK-10930: Saving to IMAP folder (other than INBOX) not working with Cyrus IMAP
Reporter:James Rothenberger (jaroth)Labels:
Date Opened:2007-11-29 12:19:14.000-0600Date Closed:2007-12-21 13:57:55.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) imap_save_folder.patch
Description:Currently, saving a message to an IMAP folder (work, family, etc.) other than INBOX (new or old) does not work.  We have confirmed this with Cyrus IMAP only.  This patch passes the mailbox name to the c-client mail_copy() function instead of passing the entire mailbox specification (which does not work).
Comments:By: Mark Michelson (mmichelson) 2007-11-29 14:12:44.000-0600

I'm fine with this if people can confirm that this doesn't break compatibility with other IMAP servers.

By: Mark Michelson (mmichelson) 2007-12-21 13:42:11.000-0600

I looked at the c-client documentation more, and it appears this isn't just a Cyrus thing. The mail_copy command expects just the mailbox name. As such, I'm going to go ahead and get this patch committed.

By: Digium Subversion (svnbot) 2007-12-21 13:56:50.000-0600

Repository: asterisk
Revision: 94538

U   branches/1.4/apps/app_voicemail.c

------------------------------------------------------------------------
r94538 | mmichelson | 2007-12-21 13:56:50 -0600 (Fri, 21 Dec 2007) | 5 lines

The mail_copy c-client function does not expect a full imap mailbox string, just the name of the mailbox.

(closes issue ASTERISK-10930, reported and patched by jaroth, with additional patchwork from me)


------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=94538

By: Digium Subversion (svnbot) 2007-12-21 13:57:55.000-0600

Repository: asterisk
Revision: 94539

_U  trunk/
U   trunk/apps/app_voicemail.c

------------------------------------------------------------------------
r94539 | mmichelson | 2007-12-21 13:57:54 -0600 (Fri, 21 Dec 2007) | 13 lines

Merged revisions 94538 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r94538 | mmichelson | 2007-12-21 13:59:45 -0600 (Fri, 21 Dec 2007) | 5 lines

The mail_copy c-client function does not expect a full imap mailbox string, just the name of the mailbox.

(closes issue ASTERISK-10930, reported and patched by jaroth, with additional patchwork from me)


........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=94539