On Tue, Apr 15, 2008 at 09:50:25PM +0200, mouss wrote:
> Clifton Royston wrote:
> > [snip]
> >   If you want to brute-force the solution, while you look for the true
> > reason amavisd is failing to strip the previous headers, you could add
> > a Postfix header_checks rule to be run on the pre-amavisd instance such
> > as (with PCRE):
> >
> > /^X-Spam-Score:/    IGNORE
> > /^X-Spam-Hits:/             IGNORE
> > /^X-Spam-Level:/    IGNORE
> > /^X-Spam-Flag:/             IGNORE
> > etc.
> >   
> 
> I prefer rewriting the headers:
> 
> /^(X-Spam-.*)/               REPLACE X-$1
> 
> This way, information is not removed.

  Nice trick!  I think I picked up my habit of doing it before REPLACE
was available.
 
  -- Clifton

-- 
    Clifton Royston  --  [EMAIL PROTECTED] / [EMAIL PROTECTED]
       President  - I and I Computing * http://www.iandicomputing.com/
 Custom programming, network design, systems and network consulting services

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to