I’ve been applying “Train as Spam” to these emails, but they keep appearing in my Inbox. Is there a way I can get SpamSieve to recognize all emails from the “onmicrosoft.com” domain as spam? If not, I’ll set up an Inbox Rule to send them straight to the Trash.
Here’s an AppleScript to make it easy to create domain blocklist rules:
display dialog "Enter domain to block (starting with the “@”):" default answer ""
set _domain to text returned of the result
tell application "SpamSieve"
tell blocklist
make rule with properties {text to match:_domain, match field:from field, match style:ends with style}
end tell
end tell
Activate the system script menu, as described here. You can use the script menu to open the appropriate folder for saving the AppleScript file. And then you can run it from the script menu.