• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Spamassassin DCC permission issue

Winnstorm

Basic Pleskian
Hello,

I've activated the dcc plugin in the v310.pre file of spamas but after installing the dcc I receive the following messages under the maillog file of centos:

dccproc[13072]: open(/var/lib/dcc/map): Permission denied
dccproc[13072]: whiteclnt missing,:unlink(/var/lib/dcc/whiteclnt.dccw): Permission denied
dccproc[13072]: stat(whiteclnt): Permission denied
spamd[2022]: dcc: instead of X-DCC header, dccproc returned 'open(/var/lib/dcc/map): Permission denied'

I've checked that the /var/lib/dcc files with these permissions:

ls -l
total 68
drwxr-xr-x. 2 popuser bin 228 Oct 4 21:30 cgi-bin
-rw-r--r--. 1 popuser root 5782 Oct 4 21:30 dcc_conf
-rw-r--r--. 1 popuser bin 797 Oct 4 21:30 flod
-rw-r--r--. 1 popuser bin 427 Oct 4 21:30 grey_flod
-rw-r--r--. 1 popuser bin 376 Oct 4 21:30 grey_whitelist
-rw-------. 1 popuser root 2439 Oct 4 21:30 ids
drwx--x---. 2 popuser bin 6 Oct 4 21:30 log
-rw-------. 1 popuser root 7700 Oct 4 22:05 map
-rw-------. 1 popuser root 384 Oct 4 21:30 map.txt
-rw-r--r--. 1 popuser bin 4403 Oct 4 21:30 whiteclnt
-rw-r--r--. 1 root root 42136 Oct 4 22:05 whiteclnt.dccw
-rw-r--r--. 1 popuser bin 1740 Oct 4 21:30 whitecommon
-rw-r--r--. 1 popuser bin 889 Oct 4 21:30 whitelist

What does chown user should belong these files?? If I test with "echo "test" | spamassassin -D dcc 2>&1 | less" command it seems to be working:

Oct 5 13:15:30.192 [13445] dbg: dcc: network tests on, registering DCC
Oct 5 13:15:35.661 [13445] dbg: dcc: dcc_pgm_path, found cdcc in dcc_path: /usr/local/bin/cdcc
Oct 5 13:15:35.708 [13445] dbg: dcc: `/usr/local/bin/cdcc -qV homedir libexecdir` reports '2.3.167 homedir=/var/lib/dcc libexecdir=/usr/libexec/dcc '
Oct 5 13:15:35.708 [13445] dbg: dcc: use 'dcc_libexec /usr/libexec/dcc' from cdcc
Oct 5 13:15:35.709 [13445] dbg: dcc: dccifd is not available; no r/w socket at /usr/libexec/dcc/dccifd
Oct 5 13:15:35.709 [13445] dbg: dcc: /usr/local/bin/dccproc is available
Oct 5 13:15:35.713 [13445] dbg: dcc: opening pipe to /usr/local/bin/dccproc -C -x 0 -R -w whiteclnt </tmp/.spamassassin13445ZVYHE7tmp
Oct 5 13:15:36.793 [13445] info: dcc: instead of X-DCC header, dccproc returned 'missing message body; fatal error'
Oct 5 13:15:38.556 [13445] dbg: dcc: DCC learning not enabled by dcc_learn_score

Any help will be appreciated.

Thanks
Best regards
 
Back
Top