Roundcube Community Forum

 

Junk folder repeat

Started by imknight, September 18, 2013, 06:19:12 AM

Previous topic - Next topic

imknight

Not sure whats going on - but setting up a new roundcube/dovecot server and i end up with two junk folders - this is purely in roundcube.

We would rather have a folder called "Spam" than "Junk" so this was set to be setup and seems fine for most things.

here is the directory listing:
[root@webmail1 Maildir]# ls -al
total 124
drwx------ 11 vmail vmail     20 Sep 18 11:05 .
drwx------  4 vmail vmail      4 Sep 18 10:34 ..
drwx------  2 vmail vmail     53 Sep 18 10:29 cur
-rw-------  1 vmail vmail   1648 Sep 18 10:00 dovecot.index
-rw-------  1 vmail vmail 118784 Sep 18 10:27 dovecot.index.cache
-rw-------  1 vmail vmail  21108 Sep 18 10:31 dovecot.index.log
-rw-------  1 vmail vmail      7 Sep 17 19:52 dovecot-keywords
-rw-------  1 vmail vmail    168 Sep 18 10:30 dovecot.mailbox.log
-rw-------  1 vmail vmail   4221 Sep 18 10:27 dovecot-uidlist
-rw-------  1 vmail vmail      8 Sep 18 09:51 dovecot-uidvalidity
-r--r--r--  1 vmail vmail      0 Sep 16 16:00 dovecot-uidvalidity.52371cf0
drwx------  5 vmail vmail      8 Sep 16 16:00 .Drafts
drwx------  5 vmail vmail      9 Sep 18 10:31 .Junk
drwx------  2 vmail vmail      2 Sep 18 10:28 new
drwx------  5 vmail vmail      8 Sep 18 09:25 .Notes
drwx------  5 vmail vmail     10 Sep 17 09:13 .Sent
drwx------  5 vmail vmail     10 Sep 18 09:44 .Spam
-rw-------  1 vmail vmail     40 Sep 18 10:30 subscriptions
drwx------  2 vmail vmail      2 Sep 18 10:27 tmp
drwx------  5 vmail vmail      9 Sep 18 10:13 .Trash

and here is the subscribtions:

[root@webmail1 Maildir]# cat subscriptions
INBOX
Sent
Trash
Drafts
Spam
Notes
Junk

clearly showing Junk & Spam

however in the roundcube interface - it is showing Junk twice, and not showing the Spam folder - now as we are using managesieve we need this Spam folder to show up so users can file spam into Spam.

Ive checked the main localasation files:

[root@webmail1 localization]# grep -i spam en_GB/*
en_GB/labels.inc:$labels['spam'] ='Spam';

And spam is not being renamed to Junk here - so at a loss as to what might be causing this - anyone got any pointers?

alec

It is Junk in en_US (default) localization.

imknight

[root@webmail1 localization]# grep -i spam en_US/*
en_US/labels.inc:$labels['spam'] ='Spam';

As you can see this is not the case.

alec

Ah. You should grep for junk not spam.

imknight

[root@webmail1 localization]# grep -ir junk en_*/*
en_GB/labels.inc:$labels['junk']   = 'Junk';
en_GB/labels.inc:$labels['deletejunk'] = 'Directly delete messages in Junk';
en_US/labels.inc:$labels['junk']   = 'Junk';
en_US/labels.inc:$labels['deletejunk'] = 'Directly delete messages in Junk';


This doesnt explain it turning a folder named "Spam" into "Junk"

ABerglund

If your config has designated the .Spam folder as the protected folder, that will cause it to use the localized name of Junk.
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA

imknight

strange :) But will defo check that out in the morning - thanks