[ postfixadmin-Bugs-1970684 ] Mailbox/Subfolder Autocreation Problems with Courier IMAP
Brought to you by:
christian_boltz,
gingerdog
From: SourceForge.net <no...@so...> - 2008-05-25 19:36:09
|
Bugs item #1970684, was opened at 2008-05-23 19:23 Message generated for change (Comment added) made by christian_boltz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1970684&group_id=191583 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Mailbox/Subfolder Autocreation Problems with Courier IMAP Initial Comment: This is believed to only be relevant when using Courier IMAP When adding a new mailbox to a domain and default IMAP folders to be created are specified in the config file (e.g. $CONF['create_mailbox_subdirs']=array('Trash'); these folders are never created and an error is displayed. The reason is that in create-mailbox.php, the IMAP commands to create the subfolders are issued _before_ the welcome mail is sent. However, when no welcome mail is sent, the users home directory is not present. Without it, Courier IMAP is not able to successfully authenticate, thus not allowing to create the IMAP directories. The fix is simple, just move the function that sends the mail above the one that creates the subfolders. Adding a little pause, say sleep(1) helped me to get the mail through my filters (spam, etc) before the IMAP commands were issued. This fix was tested and found to be working. ---------------------------------------------------------------------- >Comment By: Christian Boltz (christian_boltz) Date: 2008-05-25 21:36 Message: Logged In: YES user_id=593261 Originator: NO Fixed in SVN r369. Thanks for the report! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1970684&group_id=191583 |