Is there a way to whitelist entire domains temporarily?

Hi there,

I’ve been using SpamSieve for a few months now and loving the results overall — it’s catching 99% of the junk.

Quick question: Is there a way to whitelist an entire domain temporarily, like during a product launch or email campaign, so I don’t miss anything from a particular sender group (e.g., @partnercampaign.com)?

I know about adding rules, but I’d love a way to automate that with a time-based reset or easy toggle. Curious if anyone has a workflow or AppleScript workaround for that.

Thanks!
— Jhonn Mick

Say that you have an allowlist rule:

From (address) ends with @partnercampaign.com

You could you control it with an AppleScript like this:

tell application "SpamSieve"
	tell allowlist
		set rule "@partnercampaign.com"'s enabled to true
	end tell
end tell