Mailing List Archive

Adding DCC headers
Hi,

I'm having trouble getting spamd to add DCC headers to all messages (I
like to see the stats there, and some users may want to take action on
them as well).

First a quick rundown of the specs:

-SA ver. 2.63
-FreeBSD 4.8
-DCC via dccifd

Config:

use_dcc 1
dcc_home /var/dcc
dcc_dccifd_path /var/dcc/dccifd
#dcc_add_header 1
add_header all DCC _DCCB_: _DCCR_
dcc_timeout 5

According to the docs, the "add_header" line is how this should be done
and "dcc_add_header" is deprecated. I have restarted spamd after making
these changes.

Using spamc, I don't see extra headers. Running spamassassin, I do.

Any ideas?

Thanks,

Charles
Re: Adding DCC headers [ In reply to ]
Anyone have any hints? BTW, SA is now at the latest release (2.67-1), and
I still don't get DCC headers via spamd, only spamassassin.

Thanks,

Charles

On Thu, 4 Mar 2004, Charles Sprickman wrote:

> Hi,
>
> I'm having trouble getting spamd to add DCC headers to all messages (I
> like to see the stats there, and some users may want to take action on
> them as well).
>
> First a quick rundown of the specs:
>
> -SA ver. 2.63
> -FreeBSD 4.8
> -DCC via dccifd
>
> Config:
>
> use_dcc 1
> dcc_home /var/dcc
> dcc_dccifd_path /var/dcc/dccifd
> #dcc_add_header 1
> add_header all DCC _DCCB_: _DCCR_
> dcc_timeout 5
>
> According to the docs, the "add_header" line is how this should be done
> and "dcc_add_header" is deprecated. I have restarted spamd after making
> these changes.
>
> Using spamc, I don't see extra headers. Running spamassassin, I do.
>
> Any ideas?
>
> Thanks,
>
> Charles
>
>
>
Re: Adding DCC headers [ In reply to ]
Charles,

I think the only two lines (other than use_dcc 1) you need are:
dcc_dccifd_path /path/to/dccifd
dcc_home /path/to/dcchome
The other lines are redundant now according to documentation.

Your defaults are the same as mine. Are you running spamd as a user
other than root? Doing so seems more compatible with network tests and
checks, and is safer in general. I originally couldn't get bayes to work
until I ran spamd and spamc as a new user (the old classic spamd user).

Ben