[FR] switch to wildlsearch for some blacklists

interfasys

Verified User
Joined
Oct 31, 2003
Messages
2,100
Location
Switzerland
Blocking domains does not work against spambots networks, but it does work against known companies with a bad reputation. These companies often use subdomains to send their messages, so it's useful to be able to use something like: *.badcompany.tld

SB uses lsearch to retrieve domains from text files and thus doesn't recognizes wildcards.

I would suggest switching to using wildlsearch instead.
 
I'm assuming you're referring to blacklist_domains?
Can you confirm that this change works?
Code:
[COLOR=#000000]domainlist blacklist_domains = wildlsearch;/etc/virtual/blacklist_domains
John[/COLOR]
 
I had changed this line some times ago and it work fine:

hostlist bad_sender_hosts = wildlsearch;/etc/virtual/bad_sender_hosts

Regards
 
In case anyone isnt sure of the various files:

blacklist_senders is a list of specific senders to be blocked. Senders are not necessarily the same as the from address.

blacklist_domains is a list of specific domains; in other words, the right side of the sender; the domain from the sender is sending email. Again, not necessarily the same as the domain in the from address.

bad_sender_hosts is the hostname.

The wildcard search can be used in any of these.

Should we make the change in all versions? I'm afraid it might cause too broad a blocking behavior, but I'd like to hear what others think.

Jeff
 
Back
Top