OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: Header parsing at the server level
From: Ralf Hildebrandt (R.Hildebrandttu-bs.de)
Date: Thu Mar 30 2000 - 07:17:23 CST


On Thu, Mar 30, 2000 at 02:12:13PM +0100, Chris Horry wrote:

> :0:
> * ! ^TOspamfilternildram.co.uk
> * ! ^TOspamfilternildram.net
> * ^Subject: *pick up your diploma*
> /dev/null
>
> They work beautifully but I'd really like to do this at the server
> level. I've been playing around with the header checks in Postfix but not
> really getting very far :-)
>
> Anyone implemented this in a similar way?

Hmm, you can realize that with header_checks. Note that the regular
expression syntax in procmail and Postfix may differ (PCRE vs. POSIX):

/^To: spamfilternildram.co.uk/ REJECT
/^To: spamfilternildram.net/ REJECT
/^Subject:.*pick up your diploma/ REJECT

-- 
Ralf Hildebrandt <R.Hildebrandttu-bs.de> www.stahl.bau.tu-bs.de/~hildeb
Fear leads to anger.  Anger leads to hate.  Hate leads to using
Windows NT for mission-critical applications.