[imp] Cyrus imap Junk & Sent child folders
Michael M Slusarz
slusarz at horde.org
Wed Nov 2 20:56:29 UTC 2011
Quoting Tomi Orava <Tomi.Orava at ncircle.nullnet.fi>:
> Thanks for pointing me to the right direction.
> Although the design logic is completely alient to
> me (what I read from that bug report) I got my problem
> fixed for myself with the following patch:
>
> diff --git a/imp/lib/Mailbox.php b/imp/lib/Mailbox.php
> index f06f571..1f2fd61 100644
> --- a/imp/lib/Mailbox.php
> +++ b/imp/lib/Mailbox.php
> @@ -1397,8 +1397,8 @@ class IMP_Mailbox implements Serializable
> if (!isset(self::$_temp[self::CACHE_SPECIALMBOXES])) {
> self::$_temp[self::CACHE_SPECIALMBOXES] = array(
> self::SPECIAL_DRAFTS => self::getPref('drafts_folder'),
> - self::SPECIAL_SENT =>
> $GLOBALS['injector']->getInstance('IMP_Identity')->getAllSentmailFolders(),
> - self::SPECIAL_SPAM => self::getPref('spam_folder'),
> + // self::SPECIAL_SENT =>
> $GLOBALS['injector']->getInstance('IMP_Identity')->getAllSentmailFolders(),
> + // self::SPECIAL_SPAM => self::getPref('spam_folder'),
> self::SPECIAL_TRASH =>
> $GLOBALS['prefs']->getValue('use_trash') ?
> self::getPref('trash_folder') : null
> );
> }
This breaks sent-mail and spam in IMP. So not close to being a viable
solution.
michael
___________________________________
Michael Slusarz [slusarz at horde.org]
More information about the imp
mailing list