Automatically Delete Repeat Spam in Mail for MacOS

If your spam filter is working correctly, 99% of incoming spam should be automatically flagged and moved to your spam folder. But what if you’re receiving high volumes of spam due to a past data breach or AI-powered spam bots flooding your spam folder? The extra volume of spam makes finding any legitimate emails that were flagged as junk almost impossible.

Setting up custom message rules in the native Mail app for MacOS can help you find and delete spam messages based on the From name or Subject line and remove them all at once, leaving only a handful of messages for you to review for false positives.

View Instructions

Notes & Tips

Posted April 15, 2026

Details

Open Mail and choose Mail > Settings from the top menu.
Open Mail and choose Mail > Settings from the top menu.
Select Rules, then click Add Rule.
Select Rules, then click Add Rule.
Give your filter a Description (e.g. Delete Repeat Spam). To filter mail by the from name, choose From > Contains and enter a keyword phrase. Click the plus button to add additional rules. To filter by Subject, first choose Subject instead of From. Once your filter keywords have been added, choose Delete Message in the Perform these actions section, or move the messages to your trash folder if you still want to be able to access deleted emails. Click OK to save your new filters.
Give your filter a Description  (e.g. Delete Repeat Spam). To filter mail by the from name, choose From > Contains and enter a keyword phrase. Click the plus button to add additional rules. To filter by Subject, first choose Subject instead of From. Once your filter keywords have been added, choose Delete Message in the Perform these actions section, or move the messages to your trash folder if you still want to be able to access deleted emails. Click OK to save your new filters.
To run the filter, select all messages in your Spam folder, then choose Message > Apply Rules from the top menu (or type Command + Option + L).
To run the filter, select all messages in your Spam folder, then choose Message > Apply Rules from the top menu (or type Command + Option + L).
[?]