Automatically Move Spam to Junk in Thunderbird
Thunderbird’s adaptive junk filter can effectively reduce spam once configured and trained, but it doesn’t automatically move flagged messages by default. Here’s how to set it up properly.
Enable automatic movement for incoming mail
Access your account settings:
- Linux/Windows: Edit → Account Settings
- macOS: Thunderbird → Settings → Accounts
Select your email account and click Junk Settings in the left sidebar. Under Destination and Retention, check the box for “Move new junk messages to” and select your Junk folder (or a custom folder if you prefer).
With this enabled, Thunderbird automatically moves messages it classifies as spam before they reach your inbox.
Enable automatic movement when manually marking junk
Train the filter by moving messages when you classify them as spam:
- Open Thunderbird → Settings → Privacy → Junk
- Check “When I mark messages as junk”
- Select “Move them to the account’s ‘Junk’ folder”
Now pressing the Junk button or using the J keyboard shortcut immediately moves flagged messages and trains the classifier on your feedback.
Training the filter effectively
The junk filter requires active training to work well. Mark obvious spam consistently during your first week or two — the filter learns message characteristics and improves accuracy over time. Most users see significant improvement after training on 50-100+ messages.
Check your Junk folder regularly for false positives (legitimate emails incorrectly flagged). Select any misclassified message and press Shift+J to unmark it as junk. This reverse feedback is essential for reducing false positives.
For senders repeatedly flagged incorrectly, add them to your address book. You can also create message filter rules that override the junk classifier for trusted addresses:
- Go to Tools → Message Filters
- Create a new filter matching the sender’s address or domain
- Set the action to “Don’t mark as junk”
This approach lets you whitelist important senders without disabling the overall filter.
Server-side vs. client-side filtering
IMAP accounts (Gmail, Proton Mail, Fastmail, Outlook): Most IMAP providers handle spam filtering server-side. Moving messages to Junk creates unnecessary network traffic and duplicates their native filtering efforts. Check your provider’s spam settings first — you’re often better off using their tools instead of Thunderbird’s client-side filter. Many providers also sync their spam folder with Thunderbird anyway, so enabling both can be redundant.
POP3 accounts: Thunderbird’s junk filter works effectively since all mail is downloaded locally and your provider’s server-side filtering is less relevant.
Multiple accounts
Junk settings are configured per-account. If you manage several email addresses, configure each account separately based on its spam volume and sender patterns.
Safe configuration practices
Never enable automatic deletion of junk mail. Always move messages to the Junk folder first, then manually empty it periodically. False positives occur, and you need a recovery option. Permanently deleted messages cannot be recovered.
Review your Junk folder weekly until you’re confident the filter is working correctly. Once trained, you can safely empty it monthly, but periodic spot-checks help catch legitimate emails that slip through.
Keyboard shortcuts for efficiency
- J: Mark selected message as junk
- Shift+J: Unmark message as junk
- Ctrl+Shift+J (Linux/Windows) or Cmd+Shift+J (macOS): Open Junk folder
Using these shortcuts during normal email triage accelerates filter training and builds a personalized classifier that adapts to your specific inbox patterns.

Nothing is happening after these settings were applies
Okay so I applied the setting above and I’m thinking the problem is the sheer amount of mail in the two accounts that are loading. I’m like a pack-rat. I keep all email for-literally-ever. I should just dump all the crap, and see if that’s the problem.
Nope, these settings are already set and do not put junk emails in the junk folder.
They stay in the accounts they were sent to or end up in the trash instead of the junk folder.
Automatic junk deletion on exit is not chosen and not safe to use on our network.
Same as above. Thunderbird marks them as Junk but does not put them in the junk folder. I use to have a menu when you right-click on a folder that said “Run junk mail filter”, now that is gone.