Problems Erasing Subscribe Spam
We're currently dealing with some Subscribe Spam. Dealing with it, I encountered a problem I need help with:
I used Mark's scrip list_pending (https://www.msapiro.net/scripts/list_pending) to find out how many Subscriptions we got and which adresses were used. I iterated over all lists I got from list_lists --bare and took just the ones with "type: S". Turns out we got 66608 subscriptions from 66560 different adresses. Luckily, they all match the regex \w*\+\w*@gmail\.com, so I tried to wipe the mess whith another script of Mark, erase (https://www.msapiro.net/scripts/erase).
It works nicely for a bunch of lists, but I don't get why it doesn't work with all of them. Looking more closely I found in /var/lib/mailman/lists/<listname> the pending.pck file the script is operating on.
Does someone have an idea why it might not work for all lists?
Regards, Ruediger
Oh my, sorry. Got posted a bit late...
I've had success in deleting all of the subscription spam, but currently I struggle fighting some bounces from all of these failed addresses. I'll come back to you; meanwhile I'd be glad to get hints :)
All the best, Ruediger
Am 31.05.2018 um 16:46 schrieb Rüdiger Wolf:
We're currently dealing with some Subscribe Spam. Dealing with it, I encountered a problem I need help with:
I used Mark's scrip list_pending (https://www.msapiro.net/scripts/list_pending) to find out how many Subscriptions we got and which adresses were used. I iterated over all lists I got from list_lists --bare and took just the ones with "type: S". Turns out we got 66608 subscriptions from 66560 different adresses. Luckily, they all match the regex \w*\+\w*@gmail\.com, so I tried to wipe the mess whith another script of Mark, erase (https://www.msapiro.net/scripts/erase).
It works nicely for a bunch of lists, but I don't get why it doesn't work with all of them. Looking more closely I found in /var/lib/mailman/lists/<listname> the pending.pck file the script is operating on.
Does someone have an idea why it might not work for all lists?
Regards, Ruediger
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/ruediger%40stura.uni-h...
On 05/31/2018 07:46 AM, Rüdiger Wolf wrote:
It works nicely for a bunch of lists, but I don't get why it doesn't work with all of them. Looking more closely I found in /var/lib/mailman/lists/<listname> the pending.pck file the script is operating on.
Does someone have an idea why it might not work for all lists?
'list_pending' lists requests waiting user confirmation. These are in the various pending.pck files. 'erase' does not remove them unless you specify the -p/--pending option. Without that option, 'erase' only removes list members and moderator requests for the address(es).
Further, even with -p, 'erase' only removes pending subscription confirmations (type 'S') from pending.pck.
If that doesn't explain what is happening, what does 'list_pending' show that isn't removed? Also, if 'list_pending' shows subscription confirmations that aren't removed, what does
ls -la var/lib/mailman/lists/<listname>
show?
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Rüdiger Wolf