[Mailman-Users] delete pending mails from shell

Brad Knowles brad at stop.mail-abuse.org
Fri Aug 13 17:33:26 CEST 2004

At 4:07 AM +0000 2004-08-13, Tom Lee wrote:

>  I have thousands of pending spam emails in a list for mailman 2.0.x, is
>  there a way to delete them from shell command instead GUI? I really don't
>  want to check thousand times for "discard".

	There might be some old patches on SourceForge to do this kind of 
thing for 2.0.x.  Most of the command-line tools I know of for this 
sort of thing were developed for use with 2.1.x.

	See the archives and the SourceForge patches for more info.

>  Also, is there a way that I can change the mailman settings, in the
>  future, non registered users posting email to mail list, they will
>  get a bounced email saying they are not registered user to post mail
>  and then discard the mail automatically. In other words, the
>  administrator doesn't need to get involved to approval or disapproval?

	Easy enough to do.  Just change the default action for 
non-subscribed users from "hold" to "reject".

Brad Knowles, <brad at stop.mail-abuse.org>

"Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety."

     -- Benjamin Franklin (1706-1790), reply of the Pennsylvania
     Assembly to the Governor, November 11, 1755

   SAGE member since 1995.  See <http://www.sage.org/> for more info.

More information about the Mailman-Users mailing list