[asterisk-bugs] [Asterisk 0013653]: Shared IMAP mailboxes can cause the server to crash
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Oct 9 09:05:42 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=13653
======================================================================
Reported By: howardwilkinson
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 13653
Category: Applications/app_voicemail/IMAP
Reproducibility: always
Severity: crash
Priority: normal
Status: new
Asterisk Version: 1.4.21.2
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2008-10-09 09:02 CDT
Last Modified: 2008-10-09 09:05 CDT
======================================================================
Summary: Shared IMAP mailboxes can cause the server to crash
Description:
If the IMAP mailbox used to hold the voice messages is shared amongst a
number of users then the server can crash with problems inside the UW-IMAP
C-Client code. This is caused by multiple threads trying to use the shared
structure that the c-client code produces for the mailbox stream.
The particular installation is using Cyrus Imap server, with
authuser/authpassword set and multiple users having the same imapuser
setting.
======================================================================
----------------------------------------------------------------------
(0093405) howardwilkinson (reporter) - 2008-10-09 09:05
http://bugs.digium.com/view.php?id=13653#c93405
----------------------------------------------------------------------
I have attached a patch that fixes this problem and also adds a feature
allowing the shared mailboxes to be used to share the messages as well.
This feature adds a new option to the voicemail set. This option
'imapmbxid' can be set to a common key that should be used to identify the
messages when saved and retrieved for this particular user. This allows a
message left for one user to be retrieved by another user as though they
are the same. I use this to provide a shared set of phones with identical
behaviour but still to have separate passwords and greeting messages.
Issue History
Date Modified Username Field Change
======================================================================
2008-10-09 09:05 howardwilkinsonNote Added: 0093405
======================================================================
More information about the asterisk-bugs
mailing list