On 06/18/2018 11:44 AM, Kevin Bowen wrote: > What is the best way to block a particular recipient address site-wide? I > see there's a KNOWN_SPAMMERS variable, but I'm not sure if that's what I > need since I want to block any mail from getting sent TO this address, not > from it. Someone is being maliciously subscribed to multiple mailing lists > and getting spammed with subscription requests.
If you have access to Mailman's configuration in Mailman/mm_cfg.py, you can add the address or a regexp matching the address to the GLOBAL_BAN_LIST to prevent new subscriptions. You can use a script such as the one at <https://www.msapiro.net/scripts/erase> to completely remove an address or addresses matching a regexp from the Mailman installation. Adding the address to the GLOBAL_BAN_LIST will block any attempts to subscribe it to any list. Most of these subscribe attacks (all that I've seen) are web subscribes so the person doing the subscribe gets a web response denying it an no email is sent. This will not stop the response email to an attempted email subscribe, but you probably aren't seeing those. There is no convenient way in Mailman to block all outgoing mail to a given address. -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org