# Changing the "Junk" folder

**URL:** <https://forum.virtualmin.com/t/changing-the-junk-folder/134857>\
**Category:** Help! (Home for newbies)\
**Created:** [September 3, 2025, 6:33pm UTC](https://forum.virtualmin.com/t/changing-the-junk-folder/134857 "2025-09-03T18:33:01Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![retched](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/retched/32/20240_2.png) [@retched](https://forum.virtualmin.com/u/retched)\
**Post date:** [September 3, 2025, 6:33pm UTC](https://forum.virtualmin.com/t/changing-the-junk-folder/134857/1 "2025-09-03T18:33:01Z")

</div>

| SYSTEM INFORMATION | |
| --- | --- |
| OS type and version | AlmaLinux 9 |
| Virtualmin version | 7.30.8 |

I’m like, 99% sure I keep skipping over this… but I for the life of me cannot find the option that changes the default “spam” folder and lets me change it to something else for the email.

Just tired of Thunderbird fighting me when I’m setting up new users and it defaults to “spam” instead of Junk.

---

<div class="post-metadata">

**Author:** ![stefan1959](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@stefan1959](https://forum.virtualmin.com/u/stefan1959)\
**Post date:** [September 3, 2025, 7:11pm UTC](https://forum.virtualmin.com/t/changing-the-junk-folder/134857/2 "2025-09-03T19:11:32Z")

</div>

I think “virtualmin” creates the spam folder not thunderbird, thunderbird can do its own filtering and use junk by the docs.

> **[Thunderbird and Junk / Spam Messages | Thunderbird Help](https://support.mozilla.org/en-US/kb/thunderbird-and-junk-spam-messages)**
>
> This article explains how Thunderbird's adaptive filter learns to identify junk mail ("spam").

---

<div class="post-metadata">

**Author:** ![retched](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/retched/32/20240_2.png) [@retched](https://forum.virtualmin.com/u/retched)\
**Post date:** [September 3, 2025, 7:24pm UTC](https://forum.virtualmin.com/t/changing-the-junk-folder/134857/3 "2025-09-03T19:24:57Z")

</div>

Yeah for some reason it always creates a seperate “Junk” folder before I had a chance to do anything. Like just after the account creation in Thunderbird.

---

<div class="post-metadata">

**Author:** ![stefan1959](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@stefan1959](https://forum.virtualmin.com/u/stefan1959)\
**Post date:** [September 3, 2025, 7:30pm UTC](https://forum.virtualmin.com/t/changing-the-junk-folder/134857/4 "2025-09-03T19:30:29Z")

</div>

I found the virtualmin settings

 ![image](https://cdn.forum.virtualmin.com/uploads/default/original/3X/e/5/e5d6143047243053703449411ff105cc015cf48f.png)

---

<div class="post-metadata">

**Author:** ![retched](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/retched/32/20240_2.png) [@retched](https://forum.virtualmin.com/u/retched)\
**Post date:** [September 3, 2025, 7:35pm UTC](https://forum.virtualmin.com/t/changing-the-junk-folder/134857/5 "2025-09-03T19:35:28Z")

</div>

Besides the templates, I have no idea how to get to that page.

---

<div class="post-metadata">

**Author:** ![stefan1959](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@stefan1959](https://forum.virtualmin.com/u/stefan1959)\
**Post date:** [September 3, 2025, 7:37pm UTC](https://forum.virtualmin.com/t/changing-the-junk-folder/134857/6 "2025-09-03T19:37:36Z")

</div>

Thats Virtualmin Configuration.  
I’ll update the screenshot

---

<div class="post-metadata">

**Author:** ![retched](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/retched/32/20240_2.png) [@retched](https://forum.virtualmin.com/u/retched)\
**Post date:** [September 3, 2025, 7:40pm UTC](https://forum.virtualmin.com/t/changing-the-junk-folder/134857/7 "2025-09-03T19:40:42Z")

</div>

AHA! There it is!

Thanks for that.

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [September 3, 2025, 8:31pm UTC](https://forum.virtualmin.com/t/changing-the-junk-folder/134857/8 "2025-09-03T20:31:18Z")

</div>

I just want to add here that mail clients manage their own folders. Virtualmin can’t dictate what Thunderbird or other mail clients do, in terms of where stuff ends up. You can only configure what Virtualmin does, and what Usermin does. Other mail clients may also be configurable (probably are), but Virtualmin has no control over them. All you can do is try to use the same defaults as the majority of your clients, and you’ll still have outliers that need a bit of tweaking on one side or the other, if you want everybody to agree about where stuff goes.

---

<div class="post-metadata">

**Author:** ![shoulders](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/shoulders/32/10086_2.png) [@shoulders](https://forum.virtualmin.com/u/shoulders)\
**Post date:** [September 3, 2025, 10:37pm UTC](https://forum.virtualmin.com/t/changing-the-junk-folder/134857/9 "2025-09-03T22:37:20Z")

</div>

I thought you could set spam folder to either spam or junk in dovecot.

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [September 3, 2025, 10:52pm UTC](https://forum.virtualmin.com/t/changing-the-junk-folder/134857/10 "2025-09-03T22:52:43Z")

</div>

I guess Dovecot does support [RFC 6154: IMAP LIST Extension for Special-Use Mailboxes](https://www.rfc-editor.org/rfc/rfc6154)

Which covers things like ` \Junk` special use flag for folders. I don’t know which mail clients support that, but I guess most do (and I don’t think Usermin does, but it should).

But, this is _advisory_, it doesn’t force anything to happen and it can’t. Except for what Dovecot does, but Dovecot does not make spam filtering decisions in a Virtualmin system (it would if you were using the Sieve implementation in Dovecot, but that’s not how mail processing happens on a Virtualmin system).

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [September 3, 2025, 10:55pm UTC](https://forum.virtualmin.com/t/changing-the-junk-folder/134857/11 "2025-09-03T22:55:11Z")

</div>

But, since you control Usermin and Virtualmin, you can configure Dovecot with the `special_use` directive and Usermin and Virtualmin to match whatever you think everyone should use for spam, and that will cover most cases, I guess. At least most modern cases that support recent-ish RFCs.

This isn’t specifically about this, as it assumes Dovecot is involved in spam filtering which is not the case in a Virtualmin system, but it shows an example of what I’m talking about with configuring that folder:

> **[Spam Reporting | Dovecot CE](https://doc.dovecot.org/main/core/config/spam_reporting.html)**
>
> Dovecot CE Documentation

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [September 11, 2025, 10:56pm UTC](https://forum.virtualmin.com/t/changing-the-junk-folder/134857/12 "2025-09-11T22:56:11Z")

</div>

Closed on September 11, 2025, 10:56pm UTC

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.
