[Mailman-Users] BIG discard problem
relson at osagesoftware.com
Thu Aug 12 00:47:29 CEST 2004
On Thu, 12 Aug 2004 00:32:40 +0200
Brad Knowles wrote:
> At 3:21 PM -0400 2004-08-11, David Relson wrote:
> > Remember "deferred" is the default. I bet that selecting that
> > checkbox justs adds a simple key/value pair like "all=yes" to the
> > cgi request. The origin of the "discard all deferred items" (or
> > whatever the wording is) can likely be found with:
> > egrep -i -r -w "all.*defer" /usr/lib/mailman/
> Keep in mind that this will bomb out with 20,000 files in a
> directory, just like all other uses of wildcards passed to the shell.
> You need to escape the wildcard and pass things through a "find ... |
> xargs" command line, as I demonstrated earlier.
> If you meant to quote the wildcard and protect it from
> by the shell, you need to use single quotes and not double quotes.
In this case, you're mistaken. The double quotes work fine for this
purpose (though the '-w' should be removed).
The egrep command is intended for scanning mailman's source code with
the goal of finding the relevant html (or html generator) in order to
determine the cgi parameters for discarding deferred items.
More information about the Mailman-Users