Skip to content

Instantly share code, notes, and snippets.

@mileskrell
Last active June 11, 2025 02:33
Show Gist options
  • Save mileskrell/61784813dcc264c9c3c86eb92caa839e to your computer and use it in GitHub Desktop.
Save mileskrell/61784813dcc264c9c3c86eb92caa839e to your computer and use it in GitHub Desktop.
my Sieve filter setup (i.e. how I block spam)
require ["reject"];
# rule:[Reject emails to any aliases that have started to receive spam]
if address :localpart "to" ["alias_1", "alias_2"] {
# The multi-line string lets me include a newline to separate my message from the message the mail server starts the rejection email with
reject text:
To prevent spam, all messages to this address are automatically deleted. See https://mileskrell.com for current contact information.
.
;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment