On 2010-05-03 donovan jeffrey j wrote: > im working on a header check to filter out anything that says Viagra > in the From: line. My question,.. is how do I handle the quotes ? > > here is a sample header > > From: "Viagra US supplier" <nujue7...@myfairpoint.net> > From: "Viagra US dealer" <izylasaeym6...@bu.edu> > > > here is what i want to use , is this the correct syntax or do I need to > double quote those quotes somehow. > > /^From: "Viagra US supplier"/ DISCARD viagra foo > /^From: "Viagra US dealer"/ DISCARD viagra foo
/^From: .*viagra/ DISCARD viagra foo Regards Ansgar Wiechers -- "All vulnerabilities deserve a public fear period prior to patches becoming available." --Jason Coombs on Bugtraq