Skip to Content.
Sympa Menu

en - Re: [sympa-users] About batch commands

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] About batch commands
  • Date: Mon, 26 Mar 2012 09:51:15 +0200

Hi Ibrisol,

Le 24/03/12 13:57, Ibirisol Fontes Ferreira a écrit :
Hi people,

Anyone know how to discard all messages awaiting for moderation on one
list? (Using sympa commands or terminal programs)
You can still empty the moderation spool. A simple rm should do it. Or move, if it's just a test.

Another question is, how to remove all member from any list? (Clear
subscription)
To remove all subscriptions, you just have to empty the "subscriber_table" table. Something like "DELETE FROM subscriber_table where 1" should do the trick.
This will remove ALL subscriptions to ALL the lists. But if you use external data sources, these subscriptions will be renewed at the next synchronization.
the only solution to prevent this will be to comment any "include_xxx" paragrpah in your lists configs.

Cheers,

David

Bye,



Archive powered by MHonArc 2.6.19+.

Top of Page