In the code of Roundcube, there are many references to a folder named Junk but I don't see any such folder. When I create a folder named Junk, it gets a special icon but it doesn't server any purpose (no filtering). Now my spam assasin delivers junk mail to a folder named "spam" (this folder is created when spam arrives for the first time). Roundcube recognises this folder but doesn't subscribe to it, unless the user explicitly ticks it in the Settings Panel. Now how do I display the "spam" folder as default (like Trash etc) for all the users and how do I assign it the special "Junk" folder icon?
Nipun Jain wrote:
In the code of Roundcube, there are many references to a folder named Junk but I don't see any such folder. When I create a folder named Junk, it gets a special icon but it doesn't server any purpose (no filtering). Now my spam assasin delivers junk mail to a folder named "spam" (this folder is created when spam arrives for the first time). Roundcube recognises this folder but doesn't subscribe to it, unless the user explicitly ticks it in the Settings Panel. Now how do I display the "spam" folder as default (like Trash etc) for all the users and how do I assign it the special "Junk" folder icon?
I think this line in main.inc.php sets default folders for every user, provided they have been created on the server:
// display these folders separately in the mailbox list $rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk', 'Trash');
Nitin
Hello Nitin,
Monday, April 10, 2006, 8:28:16 PM, you wrote:
I think this line in main.inc.php sets default folders for every user, provided they have been created on the server:
// display these folders separately in the mailbox list $rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk', 'Trash');
Yes - that works. But i think Nipun is searching a way to change the icon of his folder named SPAM to the junk-icon from roundcube. That's what i want too...
rolf@flor-online.net www.flor-online.net
www.purplemoon.ch/rolf icq: 151665587 msn: thephpfreak@flor-online.net
Yes, that's what I want to do. Maybe replacing all occurrences of "Junk" in RoundCube code by "Spam" will do the trick?
But how to set the Junk/Spam folder to show as a default? (Junk folder is already in the default IMAP folder array, but it is not automatically subscribed.).
On 5/5/06, Rolf Wenger lists@flor-online.net wrote:
Hello Nitin,
Monday, April 10, 2006, 8:28:16 PM, you wrote:
I think this line in main.inc.php sets default folders for every user, provided they have been created on the server:
// display these folders separately in the mailbox list $rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk', 'Trash');
Yes - that works. But i think Nipun is searching a way to change the icon of his folder named SPAM to the junk-icon from roundcube. That's what i want too...
Greetings, Rolf
rolf@flor-online.net www.flor-online.net
www.purplemoon.ch/rolf icq: 151665587 msn: thephpfreak@flor-online.net
Hi Nipun and Rolf,
Add these four lines in skins/default/mail.css #mailboxlist li.spam { background-image: url(images/icons/folder-junk.png); }
This will use the same "Junk" folder icon for the Spam folder, instead of regular (generic) blue icon. I would enter these lines it at the end of the file, but you can add it where the trash and junk folders have been defined.
Nitin
Nipun Jain wrote:
Yes, that's what I want to do. Maybe replacing all occurrences of "Junk" in RoundCube code by "Spam" will do the trick?
But how to set the Junk/Spam folder to show as a default? (Junk folder is already in the default IMAP folder array, but it is not automatically subscribed.).
On 5/5/06, *Rolf Wenger* <lists@flor-online.net mailto:lists@flor-online.net> wrote:
Hello Nitin, Monday, April 10, 2006, 8:28:16 PM, you wrote: > I think this line in main.inc.php sets default folders for every user, > provided they have been created on the server: > ------------- > // display these folders separately in the mailbox list > $rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', > 'Sent', 'Junk', 'Trash'); > ------------- Yes - that works. But i think Nipun is searching a way to change the icon of his folder named SPAM to the junk-icon from roundcube. That's what i want too.. Greetings, Rolf -- rolf@flor-online.net <mailto:rolf@flor-online.net> www.flor-online.net <http://www.flor-online.net> www.purplemoon.ch/rolf <http://www.purplemoon.ch/rolf> icq: 151665587 msn: thephpfreak@flor-online.net <mailto:thephpfreak@flor-online.net>