Custom Spam rejection by address/domain

Hiya folks,
In the spam filtering section, there is a ‘Rules by e-mail’ section that you can enter addresses to reject by default. What is the proper format to make this accept wildcards (like a complete domain)? I tried (star)@(star).tk (forum won’t print the (**) characters), and several other variations, but it doesn’t seem to like wildcards. Thanks!

Dave Land
Land Computer Service

Amavis accepts wildcards, but the server-manager interface doesn’t.
You need a template-custom like:
@blacklist_sender_maps = ( new_RE(
Untested, let me know if you need help creating the template.

Please, try also


Perhaps I’m confused by Postfix syntax… it should block any message directed to tk domain.

1 Like

Brilliant @davidep! I’m sure you’re right.
I notice that I made a syntax error, the dot before tk should be protected by a backslash (.).

I will give that a try later. Thanks!
Gotta go get some other work done though right now so I can pay the electricity bill to keep all this junk running, LOL! :smiley:

Dave Land