From: Paul Gardiner (no email)
Date: Thu Dec 02 2004 - 10:08:50 EST
From: "Matt" <>
> 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
Brilliant thanks. I can't see if it helps yet, but I didn't know there
was an IF/ENDIF construct, so the possibilities have openned
up enormously.
Still, before I can try that out, I need to get spamassassin working
under spampd: still suffering with the other problem I posted a
little while ago. If you have any ideas there...
Cheers,
Paul.
|
|
|