Mailing List Archive

dccifd socket dosn't appair
Hello
Why dccifd socket dosnt appair? system Debian 10.13

# spamassassin -V
SpamAssassin version 3.4.6
running on Perl version 5.28.1

/spamassassin/v310.pre
loadplugin Mail::SpamAssassin::Plugin::DCC

/spamassassin/local.cf
# DCC
use_dcc 1
dcc_home /var/dcc
dcc_timeout 8
dcc_path /var/dcc/bin/dccproc
add_header all DCC _DCCB_: _DCCR_
score DCC_CHECK 4.0

/var/lib/dcc/dcc_conf
DCCM_ENABLE = off
DCCIFD_ENABLE = on

"Read also - "dcc_dccifd_path" STRING
This option tells SpamAssassin specifically where to find the dccifd socket. If dcc_dccifd_path is
not specified, it will default to looking in dcc_home If a dccifd socket is found, it will use it
instead of dccproc"

/var/dcc/lib/dcc/rcDCC start

# echo "test" | spamassassin -D dcc 2>&1 | less

Dec 27 20:52 [8027] dbg: dcc: network tests on, registering DCC
Dec 27 20:52 [8027] dbg: dcc: dcc_pgm_path, found cdcc in dcc_path: /var/dcc/bin/cdcc
Dec 27 20:52 [8027] dbg: dcc: `/var/dcc/bin/cdcc -qV homedir libexecdir` reports '2.3.168 homedir=/var/lib/dcc libexecdir=/var/dcc/lib/dcc '
Dec 27 20:52 [8027] dbg: dcc: use 'dcc_libexec /var/dcc/lib/dcc' from cdcc
Dec 27 20:52 [8027] dbg: dcc: dccifd is not available; no r/w socket at /var/dcc/dccifd
Dec 27 20:52 [8027] dbg: dcc: /var/dcc/bin/dccproc is available
Dec 27 20:52 [8027] dbg: dcc: opening pipe to /var/dcc/bin/dccproc -C -x 0 -h /var/dcc -R -w whiteclnt </tmp/.spamassassin80270VsGfhtmp
Dec 27 20:52 [8032] info: util: setuid: ruid=0 euid=0 rgid=0 0 egid=0 0
Dec 27 20:52 [8027] info: dcc: instead of X-DCC header, dccproc returned 'missing message body; fatal error'
Dec 27 20:52 [8033] info: util: setuid: ruid=0 euid=0 rgid=0 0 egid=0 0
Dec 27 20:52 [8027] dbg: dcc: DCC learning not enabled by dcc_learn_score

? dcc: dccifd is not available; no r/w socket at /var/dcc/dccifd
? dcc: DCC learning not enabled by dcc_learn_score

- /var/dcc/dccifd socket file dosnt exist
- Why DCC Learning not enabled?

thanks
Re: dccifd socket dosn't appair [ In reply to ]
On 2022-12-27 at 16:13:20 UTC-0500 (Tue, 27 Dec 2022 22:13:20 +0100)
Maurizio Caloro <mauric@gmx.ch>
is rumored to have said:

> Hello
> Why dccifd socket dosnt appair? system Debian 10.13
>
> # spamassassin -V
> SpamAssassin version 3.4.6
> running on Perl version 5.28.1
>
> /spamassassin/v310.pre
> loadplugin Mail::SpamAssassin::Plugin::DCC
>
> /spamassassin/local.cf
> # DCC
> use_dcc 1
> dcc_home /var/dcc
> dcc_timeout 8
> dcc_path /var/dcc/bin/dccproc
> add_header all DCC _DCCB_: _DCCR_
> score DCC_CHECK 4.0
>
> /var/lib/dcc/dcc_conf
> DCCM_ENABLE = off
> DCCIFD_ENABLE = on
>
> "Read also - "dcc_dccifd_path" STRING
> This option tells SpamAssassin specifically where to find the
> dccifd socket. If dcc_dccifd_path is
> not specified, it will default to looking in dcc_home If a dccifd
> socket is found, it will use it
> instead of dccproc"
>
> /var/dcc/lib/dcc/rcDCC start
>
> # echo "test" | spamassassin -D dcc 2>&1 | less
>
> Dec 27 20:52 [8027] dbg: dcc: network tests on, registering DCC
> Dec 27 20:52 [8027] dbg: dcc: dcc_pgm_path, found cdcc in dcc_path:
> /var/dcc/bin/cdcc
> Dec 27 20:52 [8027] dbg: dcc: `/var/dcc/bin/cdcc -qV homedir
> libexecdir` reports '2.3.168 homedir=/var/lib/dcc
> libexecdir=/var/dcc/lib/dcc '
> Dec 27 20:52 [8027] dbg: dcc: use 'dcc_libexec /var/dcc/lib/dcc' from
> cdcc
> Dec 27 20:52 [8027] dbg: dcc: dccifd is not available; no r/w socket
> at /var/dcc/dccifd
> Dec 27 20:52 [8027] dbg: dcc: /var/dcc/bin/dccproc is available
> Dec 27 20:52 [8027] dbg: dcc: opening pipe to /var/dcc/bin/dccproc -C
> -x 0 -h /var/dcc -R -w whiteclnt </tmp/.spamassassin80270VsGfhtmp
> Dec 27 20:52 [8032] info: util: setuid: ruid=0 euid=0 rgid=0 0 egid=0
> 0
> Dec 27 20:52 [8027] info: dcc: instead of X-DCC header, dccproc
> returned 'missing message body; fatal error'
> Dec 27 20:52 [8033] info: util: setuid: ruid=0 euid=0 rgid=0 0 egid=0
> 0
> Dec 27 20:52 [8027] dbg: dcc: DCC learning not enabled by
> dcc_learn_score
>
> ? dcc: dccifd is not available; no r/w socket at /var/dcc/dccifd
> ? dcc: DCC learning not enabled by dcc_learn_score
>
> - /var/dcc/dccifd socket file dosnt exist
> - Why DCC Learning not enabled?

Have you asked the DCC community?

DCC can be used by SpamAssassin but is not part of SpamAssassin

My *guess* is that dccifd needs to be started.


--
Bill Cole
bill@scconsult.com or billcole@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire
Re: dccifd socket dosn't appair [ In reply to ]
On 27.12.22 22:13, Maurizio Caloro wrote:
>/spamassassin/local.cf
> # DCC
> use_dcc 1
> dcc_home /var/dcc
> dcc_timeout 8
> dcc_path /var/dcc/bin/dccproc
> add_header all DCC _DCCB_: _DCCR_
> score DCC_CHECK 4.0
>
>/var/lib/dcc/dcc_conf
> DCCM_ENABLE = off


>Dec 27 20:52 [8027] dbg: dcc: network tests on, registering DCC
>Dec 27 20:52 [8027] dbg: dcc: dcc_pgm_path, found cdcc in dcc_path: /var/dcc/bin/cdcc
>Dec 27 20:52 [8027] dbg: dcc: `/var/dcc/bin/cdcc -qV homedir libexecdir` reports '2.3.168 homedir=/var/lib/dcc libexecdir=/var/dcc/lib/dcc '
>Dec 27 20:52 [8027] dbg: dcc: use 'dcc_libexec /var/dcc/lib/dcc' from cdcc
>Dec 27 20:52 [8027] dbg: dcc: dccifd is not available; no r/w socket at /var/dcc/dccifd
>Dec 27 20:52 [8027] dbg: dcc: /var/dcc/bin/dccproc is available
>Dec 27 20:52 [8027] dbg: dcc: opening pipe to /var/dcc/bin/dccproc -C -x 0 -h /var/dcc -R -w whiteclnt </tmp/.spamassassin80270VsGfhtmp
>Dec 27 20:52 [8032] info: util: setuid: ruid=0 euid=0 rgid=0 0 egid=0 0
>Dec 27 20:52 [8027] info: dcc: instead of X-DCC header, dccproc returned 'missing message body; fatal error'
>Dec 27 20:52 [8033] info: util: setuid: ruid=0 euid=0 rgid=0 0 egid=0 0
>Dec 27 20:52 [8027] dbg: dcc: DCC learning not enabled by dcc_learn_score
>
>? dcc: dccifd is not available; no r/w socket at /var/dcc/dccifd
>? dcc: DCC learning not enabled by dcc_learn_score
>
> - /var/dcc/dccifd socket file dosnt exist
> - Why DCC Learning not enabled?

perhaps it's /var/lib/dcc/dccifd
if so, set in local.cf:

dcc_home /var/lib/dcc

--
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Silvester Stallone: Father of the RISC concept.