From: Matt (no email)
Date: Thu Dec 02 2004 - 09:18:55 EST
Paul Gardiner wrote:
> > If you search the archives for INGORE, (sorry Noel) :), there are
> > some examples of multiple condition statements.
>
> I can't find it. Do you remember the principle of how it worked?
>
The relevant section is pasted below. I have no idea whether this
is relevant to your original question, (bad memory), but here it is.
I do hope Noel doesn't mind me reposting his work?
Obviously, it would need adapting to suit the intention.
# header check to remove malformed From: headers.
IF /^From:/
IF !/<>/
IF !/^From:[[:space:]]*$/
/^[^@]+$/ IGNORE no "@" in From: header
/@[^.]+$/ IGNORE unqualified address in From: header
/<[^>]*$/ IGNORE unbalanced "<>" in From: header
ENDIF
ENDIF
ENDIF
Matt
|
|
|