E-Mail Blacklisting


#1

With some of the accounts I support I’d like to set spamassassin options so that ALL e-mail is blacklisted by default, and then specifically allow only specific addresses. I assumed I could achieve this effect by having a low-priority blacklist and then high-priority whitelists.

The problem I’m having is I’m not sure what pattern would successfully match all incoming e-mail for the blacklist entry…that is I’m not sure what I could put in the ‘address’ field to achieve what I want.

Any suggestions would be appreciated!


#2

Dunno - just blacklist the “@” character maybe? Or regex like “@.*” perhaps.

In any case, make sure it’s the lowest priority rule and that your whitelist addresses and domains are higher.


#3

I can’t help but wonder what sort of legitimate purpose there could be to block ALL incoming mail to a mail account. Best of luck.

http://benconley.net
http://teamshocker.com


#4

Keep in mind I’m not actually blocking ALL. I’m blocking ALL, except those specifically authorized. The reverse of the usual paradigm, but it will be very effective at blocking out spam…

I wouldn’t want this approach for my own personal account or any account I conduct business on, but for example, my wife would prefer it for hers.


#5

I had tried ‘’ and '.’ (regex for matching any number of characters). But apparently you have to have the @ and the matching is NOT regex (@.* didn’t work). The correct match string is ‘@*’.


#6

This is great to know.

I’ve been trying to figure out how to get wildcards to work.

Do you happen to know if something like ‘@*.ru’ would work?
Do blacklisted emails get bounced or just shoved into the Junk mail
folder?

I see it as very Legitimate use.
I get hundreds of emails from scum who have NO legitimate reason.