Thread: [ postfixadmin-Bugs-1863321 ] Mailboxes config
Brought to you by:
christian_boltz,
gingerdog
From: SourceForge.net <no...@so...> - 2008-01-03 18:23:13
|
Bugs item #1863321, was opened at 2008-01-03 19:23 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1863321&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: Open Resolution: None Priority: 5 Private: No Submitted By: Pierluigi Pretara (pretaz) Assigned to: Nobody/Anonymous (nobody) Summary: Mailboxes config Initial Comment: It seems that the following configuration in config.inc.php is not handled in release 2.1.0: $CONF['domain_path'] = 'NO'; $CONF['domain_in_mailbox'] = 'NO'; I've had to change create-mailbox.php as following: if ($CONF['domain_path'] == "YES") { if ($CONF['domain_in_mailbox'] == "YES") { $maildir = $fDomain . "/" . $fUsername . "/"; } else { $maildir = $fDomain . "/" . escape_string ($_POST['fUsername']) . "/ "; } } else { if ($CONF['domain_in_mailbox'] == "YES") { $maildir = $fUsername . "/"; } else // START OF NEW LINES { $maildir = escape_string ($_POST['fUsername']) . "/"; } // END OF NEW LINES } ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1863321&group_id=191583 |
From: SourceForge.net <no...@so...> - 2008-01-06 17:14:51
|
Bugs item #1863321, was opened at 2008-01-03 18:23 Message generated for change (Comment added) made by gingerdog You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1863321&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: Open Resolution: None Priority: 5 Private: No Submitted By: Pierluigi Pretara (pretaz) Assigned to: Nobody/Anonymous (nobody) Summary: Mailboxes config Initial Comment: It seems that the following configuration in config.inc.php is not handled in release 2.1.0: $CONF['domain_path'] = 'NO'; $CONF['domain_in_mailbox'] = 'NO'; I've had to change create-mailbox.php as following: if ($CONF['domain_path'] == "YES") { if ($CONF['domain_in_mailbox'] == "YES") { $maildir = $fDomain . "/" . $fUsername . "/"; } else { $maildir = $fDomain . "/" . escape_string ($_POST['fUsername']) . "/ "; } } else { if ($CONF['domain_in_mailbox'] == "YES") { $maildir = $fUsername . "/"; } else // START OF NEW LINES { $maildir = escape_string ($_POST['fUsername']) . "/"; } // END OF NEW LINES } ---------------------------------------------------------------------- >Comment By: GingerDog (gingerdog) Date: 2008-01-06 17:14 Message: Logged In: YES user_id=1761957 Originator: NO Does the above combination fail with what's in Subversion as well? thanks David. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1863321&group_id=191583 |
From: SourceForge.net <no...@so...> - 2008-01-06 19:17:24
|
Bugs item #1863321, was opened at 2008-01-03 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=1863321&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: Out of Date Priority: 5 Private: No Submitted By: Pierluigi Pretara (pretaz) Assigned to: Nobody/Anonymous (nobody) Summary: Mailboxes config Initial Comment: It seems that the following configuration in config.inc.php is not handled in release 2.1.0: $CONF['domain_path'] = 'NO'; $CONF['domain_in_mailbox'] = 'NO'; I've had to change create-mailbox.php as following: if ($CONF['domain_path'] == "YES") { if ($CONF['domain_in_mailbox'] == "YES") { $maildir = $fDomain . "/" . $fUsername . "/"; } else { $maildir = $fDomain . "/" . escape_string ($_POST['fUsername']) . "/ "; } } else { if ($CONF['domain_in_mailbox'] == "YES") { $maildir = $fUsername . "/"; } else // START OF NEW LINES { $maildir = escape_string ($_POST['fUsername']) . "/"; } // END OF NEW LINES } ---------------------------------------------------------------------- >Comment By: Christian Boltz (christian_boltz) Date: 2008-01-06 20:17 Message: Logged In: YES user_id=593261 Originator: NO SVN has: if ($CONF['domain_path'] == "YES") { if ($CONF['domain_in_mailbox'] == "YES") # unchanged } else { $maildir = $fUsername . "/"; } This means: If $CONF['domain_path'] is set to NO, $CONF['domain_in_mailbox'] is ignored. I consider this a feature because everything else will cause problems (just think about having multiple domains, each with a info@ mailbox - they would all have the same maildir). Closing as "out of date" - in case I misread the code, please reopen the bugreport. ---------------------------------------------------------------------- Comment By: GingerDog (gingerdog) Date: 2008-01-06 18:14 Message: Logged In: YES user_id=1761957 Originator: NO Does the above combination fail with what's in Subversion as well? thanks David. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1863321&group_id=191583 |