6.0.0-git
2019-04-24

[#13721] Junk folder missing over actvicesync after SPAM configuration
Summary Junk folder missing over actvicesync after SPAM configuration
Queue IMP
Queue Version 6.2.3
Type Bug
State Not A Bug
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester sascha (at) schmidt (dot) ps
Created 2014-11-25 (1611 days ago)
Due
Updated 2014-12-08 (1598 days ago)
Assigned 2014-11-30 (1606 days ago)
Resolved 2014-12-08 (1598 days ago)
Milestone
Patch No

History
2014-12-08 14:53:30 Michael Rubinsky Comment #9
State ⇒ Not A Bug
Reply to this comment
Got it working by defining the "Spam" folder as "Junk" within the 
web preferences and setting the following within backends.local.php

         IMP_Mailbox::MBOX_SPAM => 'Spam',

But I really don't know why this works...
I don't know either. Changing that value has no change for me, 
regardless of the value. I'm going to close this with the assumption 
that something was changed/fixed in Git after the version you are using.
2014-12-08 10:01:35 sascha (at) schmidt (dot) ps Comment #8 Reply to this comment
Got it working by defining the "Spam" folder as "Junk" within the web 
preferences and setting the following within backends.local.php

         IMP_Mailbox::MBOX_SPAM => 'Spam',

But I really don't know why this works...
2014-12-05 14:59:06 Michael Rubinsky Comment #7 Reply to this comment
Just a thought - are you subscribed to the Junk folder?
2014-12-05 04:51:44 Michael Rubinsky Comment #6 Reply to this comment
Cannot reproduce. I have a folder named 'Junk' on the IMAP server. It 
doesn't matter if I configure special_mailboxes or not, the Junk 
folder is always available on the device.
2014-12-02 13:15:49 sascha (at) schmidt (dot) ps Comment #5 Reply to this comment
Some more details on that:

- A folder named "Junk" exists on my IMAP server
- The backends.local.php has configured special MBoxes.
IMP_Mailbox::MBOX_SPAM => 'Junk',
- Within the prefs the Junk folder is configured, too.
$_prefs['spam_folder']['value'] = 'Junk';
2014-12-02 13:05:29 sascha (at) schmidt (dot) ps Comment #4 Reply to this comment
As soon as I configure "special mailboxes" the "Junk" folder 
disappears over activesync...

backends.local.php
     'special_mboxes' => array(
         IMP_Mailbox::MBOX_DRAFTS => 'Drafts',
         IMP_Mailbox::MBOX_SENT => 'Sent',
         IMP_Mailbox::MBOX_SPAM => 'Junk',
         IMP_Mailbox::MBOX_TEMPLATES => 'Templates',
         IMP_Mailbox::MBOX_TRASH => 'Trash',
     )
Since iOS uses the actual display name of the Junk folder to 
determine if it is the actual Junk folder, you will probably need to 
rename the Spam folder to Junk in either your user prefs, or imp's 
backends.local.php file. See imp/config/backends.php for more info.
2014-11-30 17:52:41 sascha (at) schmidt (dot) ps Comment #3 Reply to this comment
I don't understand what you mean with "rename". I configure special 
mailboxes within backends.local.php. Actually I've configured 
"IMP_Mailbox::MBOX_SPAM => 'Junk'," but this didn't help...

Additionally within the preferences I could choose the local imap 
folder "Junk" as the SPAM folder. But afterwards, the Junk folder 
disappears using activesync...
Since iOS uses the actual display name of the Junk folder to 
determine if it is the actual Junk folder, you will probably need to 
rename the Spam folder to Junk in either your user prefs, or imp's 
backends.local.php file. See imp/config/backends.php for more info.
2014-11-30 03:43:00 Michael Rubinsky Comment #2
State ⇒ Feedback
Reply to this comment
Since iOS uses the actual display name of the Junk folder to determine 
if it is the actual Junk folder, you will probably need to rename the 
Spam folder to Junk in either your user prefs, or imp's 
backends.local.php file. See imp/config/backends.php for more info.
2014-11-28 04:00:15 Michael Rubinsky Assigned to Michael Rubinsky
State ⇒ Assigned
Priority ⇒ 1. Low
 
2014-11-25 14:27:58 sascha (at) schmidt (dot) ps Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 3. High
Summary ⇒ Junk folder missing over actvicesync after SPAM configuration
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
Reply to this comment
After a successfull SPAM configuration for imp (backends.local.php) 
the "Junk" named folder is missing on iOS devices synced over 
activesync.

Additionally the configuration of the spam folder makes the "Junk" 
folder disappear on all iOS devices over activesync.

After disabling the SPAM configuration the "Junk" folder appears 
again. The "Junk" folder to use the function "Move to spam".

Saved Queries