[Mailman-Users] Auto-Rejecting posts

Mark Sapiro msapiro at value.net
Fri Jul 23 05:01:41 CEST 2004


LuKreme wrote:
>
>Whilst I have your attention is:
>
>^.*@ebay.com
>^.*@paypal.com
>
>legal for the regex match in the discard_these_nonmembers
>

yes, but maybe e.g. ^.*@ebay\.com is better

>how about
>
>^.*@citi-?ban[c|k].com
>

here you probably mean either ^.*@citi-?ban[ck]\.com or
^.*citi-?ban(c|k)\.com. ban[c|k] matchs "ban" followed by one of "c"
or "|" or "k".

>(That is to say, when it say regex does it really mean regex and what 
>flavour of regex?)
>

Python regular expressions. See
http://docs.python.org/lib/re-syntax.html

--
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan




More information about the Mailman-Users mailing list