Re: Change default junk folder

Quan tran hong <[email protected]>
Newsgroups gmane.comp.jakarta.james.user
Message-ID <CAFG0j1CH8uQhu45zQFO3fRiMfY0rYR6_UZ-bZ8+eeA+agyEyrg@mail.gmail.com>
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]
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.