[Mailman-Developers] LOCK_SPAMHAUS_LISTED_DBL_SUBSCRIBE should use dbl.spamhaus.org

Mark Sapiro mark at msapiro.net
Mon Jul 2 18:28:53 EDT 2018


On 7/2/18 2:34 AM, A. Schulze wrote:
> 
> one new, cool feature is "BLOCK_SPAMHAUS_LISTED_DBL_SUBSCRIBE"
> But I'm unsure if it will block any subscription.
> 
> see
> https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/Utils.py#L1546
> 
> There, for a potential subscriber <user at example.org> a DNS query for
> example.com.zen.spamhaus.org is generated.


You are correct. Thank you very much for the report.

As you note, line 1546 of Utils.py should be

    lookup = '%s.dbl.spamhaus.org' % (domain)

This is now reported at
<https://bugs.launchpad.net/mailman/+bug/1779774> and will be fixed.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Developers mailing list