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.
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.
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.
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).
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: