From a1fdd873605262bc4fa88785d046ab626125865a Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Sun, 23 Oct 2011 14:09:39 +0000 Subject: [PATCH] MailboxHandler.php: - add comment about forcing $CONF['domain_in_mailbox] = YES if $CONF['domain_path'] == NO. Without this comment, the code might look buggy - confirmed ;-) in https://sourceforge.net/tracker/?func=detail&atid=937964&aid=3427498&group_id=191583 git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1232 a1433add-5e2c-0410-b055-b7f2511e0802 --- model/MailboxHandler.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/model/MailboxHandler.php b/model/MailboxHandler.php index d4f81de2..c54a4014 100644 --- a/model/MailboxHandler.php +++ b/model/MailboxHandler.php @@ -142,6 +142,8 @@ class MailboxHandler { $maildir = $domain . "/" . $local_part . "/"; } } else { + # If $CONF['domain_path'] is set to NO, $CONF['domain_in_mailbox] is forced to YES. + # Otherwise user@example.com and user@foo.bar would be mixed up in the same maildir "user/". $maildir = $username . "/"; }