When using catch-all for email, how to „turn off“ one address?
- 
I use catch-all in email settings basically for creating arbitrary addresses for certain websites (e.g. as supported in Bitwarden). One address under my domain (that I never created) receives like 90 % of all spam. Can I turn off such an address under these circumstances? I read into Spamassassin rules, but I believe when blacklisting (e.g. by blacklist_to foo@domain.com), it will only marked as spam. I would like to not even reach any inbox but just get rejected…
- 
I use catch-all in email settings basically for creating arbitrary addresses for certain websites (e.g. as supported in Bitwarden). One address under my domain (that I never created) receives like 90 % of all spam. Can I turn off such an address under these circumstances? I read into Spamassassin rules, but I believe when blacklisting (e.g. by blacklist_to foo@domain.com), it will only marked as spam. I would like to not even reach any inbox but just get rejected…@necrevistonnezr make a sieve rule to rejectincoming to that address ?
- 
@necrevistonnezr make a sieve rule to rejectincoming to that address ?@timconsidine 
 Thanks. I don't see a "reject" rule in Roundcube, but a "discard with message" - I assume that's the same?
 And are those sieve rules processed before or after the spam filter?
- 
@timconsidine 
 Thanks. I don't see a "reject" rule in Roundcube, but a "discard with message" - I assume that's the same?
 And are those sieve rules processed before or after the spam filter?@necrevistonnezr not sure about Roundcube as I moved over to SnappyMail, but I think it is similar. 
 Under Filters you can add a sieve script (maybe they call it 'custom')And yes I think discard with messageis equivalent. But not an expert.Due to the excellent spamassassin rules posted here https://forum.cloudron.io/post/30512 by @d19dotca, I am not needing to use sieve in SnappyMail. But here is the script which I use in Protonmail. The fromcan be changed totoI guess.NB : I put the rejectpart of the rule before the spam test. Arguably I should have areturnafter thereject- not sure why I did not do that.require ["include", "environment", "variables", "relational", "comparator-i;ascii-numeric", "spamtest", "reject", "fileinto", "imap4flags"]; if address :contains "from" ["spammer@blah.co.uk", "spammer.com"] { reject "Spam"; } if spamtest :value "ge" :comparator "i;ascii-numeric" "5" { fileinto "spam"; } if exists "list-unsubscribe" { addflag "\\List"; } # Generated: Do not run this script on spam messages if allof (environment :matches "vnd.proton.spam-threshold" "*", spamtest :value "ge" :comparator "i;ascii-numeric" "${1}") { return; }
 

