Send Thunderbird Spam Straight to the Spam Folder Automatically

Thunderbird can move mail it identifies as spam out of your Inbox automatically. Turn on adaptive spam controls for the account, set new spam to go to that account’s Spam folder, and train the filter by marking both spam and legitimate messages. In Thunderbird 145 and later, the interface uses “Spam”; older releases may still say “Junk.”

Use Thunderbird’s adaptive filter for ordinary unsolicited mail. Add a message filter only for a narrow, repeatable pattern—such as a known sender address—and check the Spam folder regularly so an important message is not overlooked.

Set Thunderbird to move detected spam

  1. Open the application menu (≡), choose Settings, select Privacy & Security, and scroll to the Spam section.
  2. Make sure adaptive spam controls are enabled and choose the option to move new messages identified as spam to the Spam folder. The global setting is a default for accounts.
  3. For an account-specific destination, open the application menu, choose Account Settings, select the email account, and open Spam Settings. Enable adaptive controls and select the account’s Spam folder as the destination. Account settings can override the global choice.

If the Spam folder is missing, check that the account has a Spam or Junk folder and that it is subscribed or visible. With IMAP, the destination may be a server folder; with POP, it may be local. Names and available folder choices depend on the provider and account setup. Mozilla documents the current global and per-account paths in Thunderbird’s spam-filter help.

Thunderbird Settings open to Privacy & Security, showing the Spam section with adaptive spam controls and moving new spam messages to the Spam folder enabled.
The global Spam controls include the option to move newly classified spam into the Spam folder.

Train the filter instead of deleting messages

Adaptive filtering improves from examples you label. When a message is clearly unwanted, select it and use the Spam button or press J. On older Thunderbird versions, the button may be labeled Junk. If an email is incorrectly marked, open it and choose Not Spam, or select it and press Shift+J. Merely deleting or dragging a message into a folder does not provide the same training signal; mark it first.

Check the Spam folder periodically, especially while the filter is learning. Mark misclassified legitimate mail as Not Spam and return to the Inbox as appropriate. Thunderbird’s adaptive filter is probabilistic: it does not guarantee that every unwanted message will be caught or that every legitimate message will stay out of Spam. Mozilla recommends training it with both spam and non-spam examples and checking for false positives. Your email provider’s server-side spam protection can also help, so use it alongside Thunderbird when available.

Thunderbird Account Settings for an email account, with Spam Settings selected, adaptive spam controls enabled, and the account Spam folder selected as the destination.
The account-level Spam Settings let you enable learning and choose where detected spam goes.

Add a narrow rule for a known spam pattern

Use a manual message filter when a reliable characteristic is repeated. A filter can move a matching message, but it does not teach the adaptive spam model why that message is spam. Avoid broad rules such as a common subject word or an entire large email domain; attackers can vary sender details, and legitimate mail can share those words.

  1. Open the application menu, choose Tools, then Message Filters. Select the email account in the account list and click New.
  2. Name the rule, such as Known unwanted sender. Under Apply filter when, keep Getting New Mail enabled so it runs on incoming messages. Select a condition such as From → contains and enter a distinctive sender address. Add another condition and choose Match all when multiple details must be true together.
  3. Under Perform these actions, choose Move Message to and select the account’s Spam folder. Click OK to save, then confirm the rule is enabled in the Message Filters window.

Filters are account-specific and run automatically on the Inbox; they do not automatically scan every existing folder. To apply a new rule to messages already in the Inbox, select the account and filter in Message Filters and use Run Now. The order of filters matters: a rule that moves a message may take it out of the Inbox before a later rule can act on it. Mozilla’s message-filter instructions explain the available timing options and manual runs.

Thunderbird Message Filters dialog with a rule named Known spam sender, a From contains condition for offers@example.com, and the action Move Message to Spam.
A narrow sender rule moves only messages matching the condition into Spam.

Confirm new mail is routed correctly

Save the settings, then wait for a new message that should match the adaptive filter or your specific rule. Confirm it appears in the Spam folder rather than the Inbox. If you use an exact-sender rule, verify that the sender condition is distinctive and that the destination belongs to the right account. Do not use a real suspicious message as a test by opening its links or attachments.

If good mail lands in Spam, mark it Not Spam and narrow or disable any manual rule that matched it. If spam stays in the Inbox, mark it Spam to train the adaptive filter, review that account’s destination setting, and confirm the manual filter is enabled and attached to the correct account. For persistent problems, check your provider’s spam controls as well; Thunderbird alone is not a complete barrier against modern spam.

Thunderbird mail window with the Spam folder selected and a message titled Limited time offer visible in the message list.
Verify routing by checking that a message classified as spam appears in the Spam folder.

Leave a Comment

PC Tips