Patrick Ben Koetter:
> I'm having trouble with a simple header check running in a pre-queue amavis
> setup.
> 
> The filter should DISCARD any Subject that begins with "SPAM-Verdacht
> CUSTOMERNAME:"
> 
> # Pattern                               Aktion
> /^Subject:\ (SPAM-Verdacht CUSTOMERNAME:\ .*)$/   DISCARD $1

To test the rule with actual mail:

postmap -hq - pcre:/path/to/file < messagefile

        Wietse

Reply via email to