Skip to Content.
Sympa Menu

en - RE: [sympa-users] spam flood

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Malcolm Waltz <address@concealed>
  • To: "'Amos'" <address@concealed>, "address@concealed" <address@concealed>
  • Subject: RE: [sympa-users] spam flood
  • Date: Wed, 20 Jul 2011 02:17:26 +0000

Working on the MTA queue might help (if you haven't already).  If you are using postfix, you could do something like this to put the relevant messages on hold:

mailq | tail +2 | grep -v '^ *(' | awk  'BEGIN { RS = "" } { if ($7 == "address@concealed") print $1 }'| tr -d '*!' | postsuper -h -

mailq | tail +2 | grep -v '^ *(' | awk  'BEGIN { RS = "" } { if ($8 == "address@concealed") print $1 }'| tr -d '*!' | postsuper -h -

 

Once you are sure you have put the right messages on hold, you could use the following command to purge them (or similar):

mailq | tail +2 | grep -v '^ *(' | awk  'BEGIN { RS = "" } { print $1 }'| perl -pi -e 'if(/(^\S+)\!$/){$_="$1\n"}else{$_=undef}' | postsuper -d -

 

The above commands could be adapted for sendmail as well (use the mv command to move the d* and q* files, in pairs, out of the appropriate queue directory).

 

Here's a couple relevant pages I found while Googling:

http://ramnik.net/wp/?p=5

http://www.faqforge.com/tag/postfix/

 

 

From: address@concealed [mailto:address@concealed] On Behalf Of Amos
Sent: Tuesday, July 19, 2011 6:58 PM
To: address@concealed
Subject: [sympa-users] spam flood

 

Well, due to some unpleasant circumstances, one of our lists got hammered with thousands of mail.  I'm trying to cut-off further delivery of mail out of this list.  I even removed and purged the list.  However, mail is still coming out from this list.  My guess is that the internal queue/db still have tons of mail.  However, how do I clear this out?  I want to obliterate all artifacts of this list from our server!

 

 




Archive powered by MHonArc 2.6.19+.

Top of Page