How do I change the Roundcube Special Junk Folder to Junk across all accounts?

Digital Essence

Verified User
Joined
Jan 9, 2023
Messages
23
Hi,

I've like to change the Roundcube Junk Special Folder to be Junk rather than Spam across all current and future emails accounts on the server.

I read to add $config['junk_mbox'] = 'Junk';

/var/www/html/roundcube/config/defaults.inc.php already has $config['junk_mbox'] = 'Junk';

and I've edited:

/var/www/html/roundcube/config/config.inc.php and also added the line:

$config['junk_mbox'] = 'Junk';

But this hasn't made any difference.

I've read that Roundcube saves per-user folder preferences in its MySQL database when a user first logs in or changes settings. These stored preferences take precedence over config.inc.php for existing accounts and I've got these instructions to resolve this.
Before I break anything. Is this the right course of action?
 
Hi,

I've like to change the Roundcube Junk Special Folder to be Junk rather than Spam across all current and future emails accounts on the server.

I read to add $config['junk_mbox'] = 'Junk';

/var/www/html/roundcube/config/defaults.inc.php already has $config['junk_mbox'] = 'Junk';

and I've edited:

/var/www/html/roundcube/config/config.inc.php and also added the line:

$config['junk_mbox'] = 'Junk';

But this hasn't made any difference.

I've read that Roundcube saves per-user folder preferences in its MySQL database when a user first logs in or changes settings. These stored preferences take precedence over config.inc.php for existing accounts and I've got these instructions to resolve this.
Before I break anything. Is this the right course of action?
Yep that sounds right for Roundcube, existing users could have their folder prefs saved in the database and this will overwrite those in config.inc.php.

Your config change will work for new accounts, but existing accounts will need to have their saved preferences re-saved/reset in MySQL
 
Back
Top