I have upgrade to ispconfig 2.2.21 on Debian and enabled spamd
now my spamassassin is not working any longer.
What is the different between use spamd or spamc in spamassassin.rc?
Not all user have got the symlink to user_prefs file ?
Please help
/etc/default/spamassassin
Code:
# /etc/default/spamassassin
# Duncan Findlay
# WARNING: please read README.spamd before using.
# There may be security risks.
# Change to one to enable spamd
ENABLED=1
# Options
# See man spamd for possible options. The -d option is automatically added.
# SpamAssassin uses a preforking model, so be careful! You need to
# make sure --max-children is not set to anything higher than 5,
# unless you know what you're doing.
OPTIONS="--create-prefs --max-children 5 --helper-home-dir"
# Pid file
# Where should spamd write its PID to file? If you use the -u or
# --username option above, this needs to be writable by that user.
# Otherwise, the init script will not be able to shut spamd down.
PIDFILE="/var/run/spamd.pid"
# Set nice level of spamd
#NICE="--nicelevel 15"
/root/ispconfig/isp/conf/spamassassin.rc.master
Code:
# SpamAssassin sample procmailrc
#
# Pipe the mail through spamassassin (replace 'spamassassin' with 'spamc'
# if you use the spamc/spamd combination)
# The condition line ensures that only messages smaller than 250 kB
# (250 * 1024 = 256000 bytes) are processed by SpamAssassin. Most spam
# isn't bigger than a few k and working with big messages can bring
# SpamAssassin to its knees.
:0fw
* < 256000
| /usr/sbin/spamc
# | /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin --prefs-file={PREFS_FILE}
# Mails with a score of 15 or higher are almost certainly spam (with 0.05%
# false positives according to rules/STATISTICS.txt). Let's put them in a
# different mbox. (This one is optional.)
:0:
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*
/dev/null
# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to "/dev/null".
{SPAM_COMMENT}:0:
{SPAM_COMMENT}* ^X-Spam-Status: Yes
{SPAM_COMMENT}/dev/null
# Work around procmail bug: any output on stderr will cause the "F" in "From"
# to be dropped. This will re-add it.
:0
* ^^rom[ ]
{
LOG="*** Dropped F off From_ header! Fixing up. "
:0 fhw
| sed -e '1s/^/F/'
}
/var/log/mail.err
Code:
Mar 11 09:17:03 isp01 spamd[1247]: spamd: could not create INET socket on 127.0.0.1:783: Permission denied
Mar 11 09:17:12 isp01 spamd[1286]: spamd: could not create INET socket on 127.0.0.1:783: Permission denied
Mar 11 09:19:22 isp01 spamd[1403]: spamd: could not create INET socket on 127.0.0.1:783: Permission denied
Mar 11 09:20:40 isp01 spamd[1492]: spamd: could not create INET socket on 127.0.0.1:783: Permission denied
Mar 11 09:21:15 isp01 spamd[1561]: spamd: could not create INET socket on 127.0.0.1:783: Permission denied
Mar 11 09:21:16 isp01 spamd[1565]: spamd: could not create INET socket on 127.0.0.1:783: Permission denied
Recent comments
1 day 5 hours ago
1 day 5 hours ago
1 day 10 hours ago
1 day 17 hours ago
1 day 17 hours ago
1 day 19 hours ago
1 day 23 hours ago
2 days 6 hours ago
2 days 9 hours ago
2 days 11 hours ago