OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Rejecting Valid Subject

From: /dev/rob0 (rob0gmx.co.uk)
Date: Mon Jun 05 2006 - 11:37:30 CDT


On Monday 2006-June-05 11:31, Steve Lowe wrote:
> >>> Credit Union Allocation
> >>>
> >>> The entry in our header_checks file was:
> >>>
> >>> /^Subject:.*Credit Union 1*/ REJECT Credit Union Subject
snip
> > To clarify:
> > /^Subject:.*Credit Union 1*/ matches a line beginning with
> > 'Subject:', followed by any number of characters, followed by
> > 'Credit Union ', then zero or more '1's.
> >
> > You may want to actually use
> > /^Subject:.* Credit Union 1.*/ REJECT Credit Union Subject 001

(as corrected by Noel, the trailing .* is useless)

> I am still confused when the Subject of the rejected message contains
> no numerics. The rejected subject was:
>
> Credit Union Allocation
>
> An inquiring mind would like to know.

How many numerics does it take to match zero? Do you know what the
asterisk means in regular expressions?
--
    Offlist mail to this address is discarded unless
    "/dev/rob0" or "not-spam" is in Subject: header