6.0.0-beta1
7/27/25

[#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 11/25/2014 (3897 days ago)
Due
Updated 12/08/2014 (3884 days ago)
Assigned 11/30/2014 (3892 days ago)
Resolved 12/08/2014 (3884 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
12/08/2014 02:53:30 PM 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.
12/08/2014 10:01:35 AM 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...
12/05/2014 02:59:06 PM Michael Rubinsky Comment #7 Reply to this comment
Just a thought - are you subscribed to the Junk folder?
12/05/2014 04:51:44 AM 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.
12/02/2014 01:15:49 PM 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';
12/02/2014 01:05:29 PM 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.
11/30/2014 05:52:41 PM 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.
11/30/2014 03:43:00 AM 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.
11/28/2014 04:00:15 AM Michael Rubinsky Assigned to Michael Rubinsky
State ⇒ Assigned
Priority ⇒ 1. Low
 
11/25/2014 02:27:58 PM sascha (at) schmidt (dot) ps Comment #1
Patch ⇒ No
State ⇒ Unconfirmed
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ Junk folder missing over actvicesync after SPAM configuration
Type ⇒ Bug
Priority ⇒ 3. High
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