--- imapstorage.txt.orig 2006-09-26 11:54:00.000000000 -0400 +++ imapstorage.txt 2006-10-01 09:16:06.000000000 -0400 @@ -69,13 +69,19 @@ imapserver= imapport= -imapflags= +imapflags= +imapfolder= expungeonhangup= authuser= authpassword= The "expungeonhangup" flag is used to determine if the voicemail system should -expunge all messages marked for deletion when the user hangs up the phone. +expunge all messages marked for deletion when the user hangs up the phone. + +The "imapfolder" directive must have "/" as directory separator, for example: + +imapfolder=Voicemail +imapfolder=INBOX/Voicemail Each mailbox definition should also have imapuser=. For example: @@ -86,6 +92,13 @@ Kerberos. They are defined to allow Asterisk to authenticate as a single user that has access to all mailboxes as an alternative to Kerberos. +If the imap server doesn't support authuser feature (courier imapd for +example), then authuser and authpassword values should not be set, but +the mailbox description will include imap server access credentials, for +example: + +6825=>6825,Sergey Okhapkin,me@somewhere.com,,attach=yes|imapuser=sos|imappassword=pwd + -------------- Mailbox Format -------------- @@ -98,10 +111,13 @@ -------------- IMAP Folders -------------- -Besides INBOX, users should create "Old", "Work", "Family" and "Friends" -IMAP folders at the same level of hierarchy as the INBOX. These will be +Besides INBOX (or folder specified by "imapfolder" directive), +users should create "Work", "Family" and "Friends" +IMAP folders as subfolders of the INBOX. These will be used as alternate folders for storing voicemail messages to mimic the -behavior of the current (file-based) voicemail system. +behavior of the current (file-based) voicemail system. Note, you don't +need to create folder "Old", old messages are kept in INBOX with status +"\\READ", new messages have status "\\UNREAD". ================================== @@ -148,6 +164,11 @@ ---------- Cyrus IMAP server v2.3.3 has been tested using a hierarchy delimiter of '/'. +------------- +Other servers +------------ +Other servers tested with imap stotage are courier imapd (directory delimiter +'.') and MS Exchange server (directory delimiter '/'). ============= Quota Support