On Tue, Mar 21, 2006 at 01:34:12AM +0100, Mark Martinec wrote:
> Chris,
> 
> > If using SA, amavisd-new removes existing SA headers when SA is enabled. 
> > Is there any way I can configure amavisd-new to remove X-DSPAM.* headers? 
> > The architecture is
> > postfix(25)-amavis(10025)-postfix(10026)-dspam(24)-postfix(10027)-mailstore
> >
> > I could have Postfix remove the X-DSPAM.* headers via header_checks, but
> > without running multiple Postfix instances I can't figure out how to
> > configure Postfix to not remove X-DSPAM.* after the dspam daemon inserts
> > those headers which then get used to sort spam at the mailstore.  I was
> > thinking I could get amavisd-new to remove X-DSPAM.*
> 
> If dspam is invoked from amavisd, then X-DSPAM headers _are_ removed
> by amavisd.  Since you are calling dspam after amavisd, you will need
> to remove the pigtail "if defined $dspam" from the following clause,
> to get these headers removed unconditionally:
> 
>       push(@which_headers, qw(
>           X-DSPAM-Result X-DSPAM-Confidence X-DSPAM-Probability
>           X-DSPAM-Signature X-DSPAM-User X-DSPAM-Factors))  if defined $dspam;

Thanks Mark, works beautifully!

---
Chris Covington
IT
Plus One Health Management
75 Maiden Lane Suite 801
NY, NY 10038
646-312-6269
http://www.plusoneactive.com


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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