Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am configuring spamassassin at the moment and have been wondering what is the standard (or atleast most used and recognized by most clients) folder name for Spam or Junk?

I first used Spam, but then notized that my preferred webmailer, roundcube, uses Junk by default. This can of course be changed, but I am wondering which is the name used by the majority of clients.

The other names I use are: INBOX, Sent, Trash, Drafts. Is this correct?

share|improve this question
what exactly are you trying to achieve/why do you need to configure a imap folder for SA? Do you want to create a default spam folder for your users or do you want to find out if your user's mailclient already created one? Depending on your use case and server configuration the exact name of the folder may not be relevant, if server and client support the IMAP "special use" extension (rfc 6154) – Gryphius Jan 9 '13 at 14:04
Yes, I need to create a default folder. – Zulakis Jan 9 '13 at 14:08
in that case, use the name that you think will be most consistent in your environment (see Chris S's answer) and (if possible) set the special use flag \Junk on that folder, so mail clients that support this extensions should automatically map their own spam/junk folder to the correct name – Gryphius Jan 9 '13 at 14:17
up vote 5 down vote accepted

Unfortunately both are very common. Most of the OpenSource software I've found uses Junk, and most of the Proprietary software seems to use Spam. New users may be accustomed to either...

The only "solution" I've found is to use one or the other, and to do so very consistently. At home I use RoundCube as well, and I standardized on "Junk" long before. If I had chosen "Spam" I would simply change the default locations and button labels on RC so it matches. At work we use Exchange/Outlook, so "Spam" was the clear choice as everything was setup for it already (despite the fact that Outlook's buttons and menu options are for "Junk Mail").

It may be possible, depending on your server configuration, to have both folders linked to the same location. I've found this to cause confusion, more so than picking one or the other (users asked "What's the difference" despite both having the exact same content).

INBOX is part of the IMAP standard, the other three have generally been standardized on those names, but I've also seen "Sent Items" instead of "Sent", "Deleted" and "Deleted Items" instead of "Trash". "Drafts" is the only one I've never seen a variant of.

share|improve this answer
This is very unfortunate and the source of countless man-years of support in configuring people's devices, who inevitably end up with dozens of variations on Sent, Drafts, Trash, Junk, and Archives, including translations in foreign languages in many cases. Do you know if there is at least any proposal to standardize this mess? – Tobia Mar 6 '15 at 17:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.