I am running CentOS5 64 bit with plesk 8.3
I have made sure that all DrWeb have been removed with
#yum remove drweb*
I have removed psa spamassassin
#yum remove psa-spamassassin
I then install qmail-scanner and ran the reconfigure script
However I have tried to send some test spam from outlook through to a test email account viewed via webmail but it doesn't come through. I have checked the settings in local.cf and qmail-scanner.ini and they are not setup to delete the message. Other test messages which are not spam get through ok. By default I would like the server to just mark them as spam not to delete.
Does any of any ideas?
Spam Deleting Not Being Marked
Ok update on this. I ended up removing qmail and then reinstalling plesk qmail bits via the autosintaller.
This after a reboot allowed mail to come through. Next I installed plesk spam assassin and I get marked email in my test email account.
I then tried a minimal install of ART stuff
#yum install clamd
#yum install qmail-scanner
#qmail-scanner-reconfigure
but this broke it again in that emails were deleted rather than marked
#yum remove qmail-scanner
#yum remove clamd
restart qmail
back to normalish.
This after a reboot allowed mail to come through. Next I installed plesk spam assassin and I get marked email in my test email account.
I then tried a minimal install of ART stuff
#yum install clamd
#yum install qmail-scanner
#qmail-scanner-reconfigure
but this broke it again in that emails were deleted rather than marked
#yum remove qmail-scanner
#yum remove clamd
restart qmail
back to normalish.
I do not complety understand the qmail-scanner.ini, but perhaps I'm just being a bit silly. I also want mail to be sent to the recipients with just a change of the subject line with e.g. SPAM or whatever. But spam mails are put in quarantaine. As fas as I can see, my settings look okay... or am I missing something. I did run the reconfigure.
What did I do wrong?
Code: Select all
QMAILSCANNERHOME="/usr/share/qmail-scanner"
SPOOLDIR="/var/spool/qscan"
SPAMDIR="/var/spool/qscan/quarantine/spam"
QS_USER="qscand" # default is qscand
QS_GROUP="qscand" # default is qscand
NOTIFY="none" # [none|sender|recips|precips|admin|nmladm|nmlvadm|all] (defaults to "psender,nmlvadm")
ARCHIVE="no" # [yes|no|regex]
FIX_MIME="2" # [yes|no|num], try "1" if blocks occurring due to this setting
IGNORE_EOL_CHECK="no" # [yes|no]
ADD_DESC_HEADERS="no" # [yes|no|all], old-fashion X-Qmail-Scanner, "all" adds rcpt to headers
DEBUG="no" # [yes|no]
MINIDEBUG="1" # [yes|no|1|2]
SETTINGS_PER_DOMAIN="yes" # [yes|no]
# ClamAV settings
CLAMD_USER="qscand" # default is clamav
# Spamassassin settings
SA_SETTINGS="-d -c -m5 -H" # Default settings for spamd
SA_SQL="no" # [yes|no], runs spamassassin with the 'rcpt to' as option. Only use if mysql is enabled in SA
SA_DELTA="1" # [num]
SA_SUBJECT="****SPAM****" # <"some text">
SA_QUARANTINE="0" # [num], required_hits + sa_quarantine will go to SPAMDIR, 0 disables
SA_DELETE="0" # [num], required_hits + sa_delete will be deleted, 0 disables
SA_REJECT="no" # [yes|no], changes deletes to rejects
SA_ALT="no" # [yes|no], runs in *fast_spamassassin* mode and doesn't pass the '-u' optio
SA_DEBUG="no" # [yes|no], requires sa-alt: yes
SA_REPORT="no" # [yes|no], requires sa-alt: yes, sa-debug: yes
SA_FORWARD="" # <username@domain>, User to redirect quarantined spam mails, unmodified for sa-learn (not used)
SA_VERBOSE="no" # [yes|no], requires SA-FORWARD (not used)