You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Nicolas Letellier <ni...@nicoelro.net> on 2009/05/05 12:51:23 UTC
dcc reports
Hello.
I use spamassassin 3.2.5 and Dcc 1.3.103.
When I execute cat /path/to/spammail | dccproc, I have lines with X-DCC in headers.
However, when I execute cat /path/to/spammail | spamc, I do not have lives with X-DCC headers.
Why I do not have DCC lines in headers, in this case?
See my local.cf:
use_dcc 1
dcc_path /usr/local/bin/dccproc
And my v310.pre:
loadplugin Mail::SpamAssassin::Plugin::DCC
Do you have any ideas? If you need any informations, do not hesitate.
Thanks.
Best regards,
--
-Nicolas.
Re: dcc reports
Posted by Nicolas Letellier <ni...@nicoelro.net>.
On Tue, 05 May 2009 07:57:37 -0400
Matt Kettler <mk...@verizon.net> wrote:
> Nicolas Letellier wrote:
> > Hello.
> >
> > I use spamassassin 3.2.5 and Dcc 1.3.103.
> > When I execute cat /path/to/spammail | dccproc, I have lines with X-DCC in headers.
> > However, when I execute cat /path/to/spammail | spamc, I do not have lives with X-DCC headers.
> >
> > Why I do not have DCC lines in headers, in this case?
> >
> Um, because you piped it to spamc, not dccproc?
>
> SpamAssassin doesn't add X-DCC headers, it just queries DCC (or uses
> upstream X-DCC-xxx-Metrics headers) and will add score via the DCC_CHECK
> rule if DCC's thresholds exceed dcc_body_max, dcc_fuz1_max or dcc_fuz2_max.
>
> If you want SA to add DCC metrics, it can create an X-Spam-DCC header if
> you add this to your config:
>
> add_header all DCC _DCCB_:_DCCR
>
> SA cannot add any headers that do not start with "X-Spam".
Thanks for your informations. I thank that SA will add DCC headers (because it use it). It uses it, but do not write anything. That's I wanted to know.
Thanks a lot.
--
-Nicolas.
Re: dcc reports
Posted by Matt Kettler <mk...@verizon.net>.
Nicolas Letellier wrote:
> Hello.
>
> I use spamassassin 3.2.5 and Dcc 1.3.103.
> When I execute cat /path/to/spammail | dccproc, I have lines with X-DCC in headers.
> However, when I execute cat /path/to/spammail | spamc, I do not have lives with X-DCC headers.
>
> Why I do not have DCC lines in headers, in this case?
>
Um, because you piped it to spamc, not dccproc?
SpamAssassin doesn't add X-DCC headers, it just queries DCC (or uses
upstream X-DCC-xxx-Metrics headers) and will add score via the DCC_CHECK
rule if DCC's thresholds exceed dcc_body_max, dcc_fuz1_max or dcc_fuz2_max.
If you want SA to add DCC metrics, it can create an X-Spam-DCC header if
you add this to your config:
add_header all DCC _DCCB_:_DCCR
SA cannot add any headers that do not start with "X-Spam".