[Mailman-Users] OT - Regex help (was: Re: About Spam Filtering

Joseph Brennan brennan at columbia.edu
Fri Feb 15 16:25:38 CET 2013



elsif 
(/^from:.*+(bounce|do-not-reply|facebook|linkedin|list-|myspace|twitter)/i) 
{ $logger->debug("Multi-string From header matching $1: $2 found; 
exiting"); exit (0); }


Examine the logic of the 'if' and any 'elsif' above this line.

I am uncertain what /.*+/ would do. Remove either * or +.

Otherwise this looks reasonable to me.

Joseph Brennan
Columbia University Information Technology





More information about the Mailman-Users mailing list