[Mimedefang] Using a db for subject lines to block

James Ebright jebright at esisnet.com
Tue Jun 21 11:04:33 EDT 2005


Yeah,

I saw that after I replied! His does a better job at sanitation than mine as I
had not thought of leading or trailing whitespace. :)

Jim

On Tue, 21 Jun 2005 10:43:18 -0400, Cormack, Ken wrote
> David was faster at the keyboard than you, Jim.  ;)  He suggested the
> following yesterday...
> 
> >	$lc_subject = s/^\s+//;  # Trim leading whitespace
> >	$lc_subject = s/\s+$//;  # Trim trailing whitespace
> >	$lc_subject = s/\s+/./g; # Collapse whitespace into periods


--
EsisNet.com Webmail Client




More information about the MIMEDefang mailing list