On 18.02.24 14:21, glad.tent3...@fastmail.com wrote:
I'm hoping someone can help troubleshooting using DCC in SpamAssassin.
My setup isn't populating the "X-Spam-DCC: : " header.
I configured SpamAssassin to use DCC
cat local.cf
...
loadplugin Mail::SpamAssassin::Plugin::DCC
add_header all DCC _DCCB_: _DCCR_
...
ifplugin Mail::SpamAssassin::Plugin::DCC
use_dcc 1
dcc_home /etc/dcc
dcc_path /usr/local/bin/dccproc
dcc_timeout 10
dcc_body_max 999999
dcc_fuz1_max 999999
dcc_fuz2_max 999999
score DCC_CHECK 3.000
dcc_learn_score 999999
endif
...
Testing against a sample email,
spamassassin --prefs-file=/etc/spamassassin/local.cf -D
</etc/spamassassin/sample-email.txt
I wonser why you use --prefs-file=/etc/spamassassin/local.cf ?
/etc/spamassassin/local.cf should be loaded automatically
Feb 18 11:24:48.255 [7041] dbg: plugin: loading
Mail::SpamAssassin::Plugin::DCC from @INC
Feb 18 11:24:48.296 [7041] dbg: rules: meta test
DIGEST_MULTIPLE has undefined dependency 'DCC_CHECK'
Feb 18 11:24:48.304 [7041] dbg: rules: meta test FSL_BULK_SIG
has undefined dependency 'DCC_CHECK'
These indicate DCC is not available
Feb 18 11:24:49.989 [7041] dbg: plugin:
Mail::SpamAssassin::Plugin::DCC=HASH(0x55f8e8a5da20) implements 'check_tick',
priority 0
Feb 18 11:24:50.003 [7041] dbg: plugin:
Mail::SpamAssassin::Plugin::DCC=HASH(0x55f8e8a5da20) implements 'check_dnsbl',
priority 0
Feb 18 11:24:50.904 [7041] dbg: plugin:
Mail::SpamAssassin::Plugin::DCC=HASH(0x55f8e8a5da20) implements
'check_cleanup', priority 0
Feb 18 11:24:50.914 [7041] dbg: plugin:
Mail::SpamAssassin::Plugin::DCC=HASH(0x55f8e8a5da20) implements
'check_post_learn', priority 0
Feb 18 11:24:50.914 [7041] dbg: dcc: DCC learning not enabled
by dcc_learn_score
and these indicate DCC is available.
I have "loadplugin Mail::SpamAssassin::Plugin::DCC" in
/etc/spamassassin/v310.pre
- try uncommenting it there.
--
Matus UHLAR - fantomas, uh...@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.
WinError #98652: Operation completed successfully.