It might be if I was trying block just that one. This is not what I am asking for.
If there was a function in SA that would strip characters out then no matter what way they sent it would create a string of just the words which then could be further parsed by SA. -T*h*i*s i_s n&o&t a s$t$a$t$i$c s^u$b*j,e.c^t -s^u$b*j,e.c^t o^f n*o*n*e s%t%a%t%i%c v^a_l*u$e^s etc... So instead of having 1000's of static statements express in SA rules the function would give SA rules another chance at finding list say "subject" after all the extraneous characters are found. Can some point me to whoever is running the Bugzilla so I can get the account issue resolved, so I can post this. Pleases! Ben Johansen - http://www.pcforge.com -Authorized WiTango Reseller http://www.pcforge.com/WitangoGoodies.htm -Authorized Alt-N Reseller http://www.pcforge.com/AltN.htm -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Stuart Gall Sent: Wednesday, June 11, 2003 1:36 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [SAtalk] Bugzilla and New Function Request ----- Original Message ----- From: "Ben Johansen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 11, 2003 9:41 PM Subject: [SAtalk] Bugzilla and New Function Request > Ok, I am having trouble with the Bugzilla system. > I have tried to submit this but it won't take my account info. > And when I ask it to send me an email with my password, I get no email. > > Could someone that has submitted to bugzilla, please post this (see > original below) request to it. > <snip> > I need a function that will strip extraneous characters from a header > and return the results for comparison in a rule > > example: StripExtraneous(SUBJECT) > > Example header > Subject: T h_i.s i^s a*n E$x:a;m-p,l e > > Results of StripExtraneous function = ThisisanExample > > This would alleviate the need to enter all variations in the rules > I was thinking that it would be nice to have the facility to apply a perl substitution to the body and or the headers before the tests are done. So you could do header_substitute subject =~ s/[\*\^_$:.,]//g But in fact you never need to do that in your example header EXAMPLE subject =~ /t?h?i?s?i?s?a?n?e?x?a?m?p?l?e/i Is functionally equivalent Stuart Gall Systems Administrator ---------------------------------------------------------------------------- --------------------------------- Critical Error: REALITY.SYS Corrupted! Reboot universe? (y/n) [y]: ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk