I went from 3.7.5 to 3.9.0 a little earlier this year, however I've been running this james setup continuously since 2017 so my oldest accounts are quite old. My main concern isn't the clients as they are using spam correctly, it's all my mailet rules on the server for what folders to send spam to that are my problem. They are targeting the junk folder by name, is there a better way to setup my mailets to dynamically pick the right folder without having to write something custom?

On 8/9/26 8:57 PM, Quan tran hong wrote:
Hi,

I guess you migrated from a very old version of James. As I know, James has
used Spam as the default mailbox name for several years.

There is no supported configuration setting to rename the default
mailboxes, as far as I know. The default mailbox names are hardcoded in
DefaultMailboxes.

I recommend using the built-in Spam mailbox for new accounts. Although its
visible name is Spam, James exposes the appropriate special-use semantics:
IMAP \Junk and JMAP role junk. Clients should therefore rely on the
special-use metadata or role rather than the literal mailbox name. Existing
Junk mailboxes can be kept as legacy folders. For migration, you could move
the existing messages from *Junk* to *Spam*.

If you really insist on not creating the Spam mailbox for new accounts,
provisionDefaultMailboxes=false can disable automatic provisioning, but it
does not provide a way to rename Spam to Junk.

I hope it helps.

Regards,

Quan

On Mon, Aug 10, 2026 at 9:28 AM Scoopta via server-user <
[email protected]> wrote:

I noticed in more recent versions of james the default junk folder is
now spam, this isn't ideal since I have a lot of existing accounts that
use the junk folder name, I don't want new accounts to use a different
folder name, how can I adjust the default folder creation settings?


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to