Spam Deleting Not Being Marked

Forum for getting help with Project Gamera, Spamassassin, Clamav, qmail-scanner and other anti-spam tools.
ssiweb
Forum User
Forum User
Posts: 7
Joined: Wed Jan 30, 2008 8:59 am

Spam Deleting Not Being Marked

Unread post by ssiweb »

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?
ssiweb
Forum User
Forum User
Posts: 7
Joined: Wed Jan 30, 2008 8:59 am

Unread post by ssiweb »

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.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Its all score based, take a look at /etc/qmail-scanner.ini, adjust the settings and run qmail-scanner-reconfigure
JeffryL
New Forum User
New Forum User
Posts: 2
Joined: Wed Mar 26, 2008 10:14 am

Unread post by JeffryL »

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.

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)
What did I do wrong?
JeffryL
New Forum User
New Forum User
Posts: 2
Joined: Wed Mar 26, 2008 10:14 am

Unread post by JeffryL »

Allright found it, I was testing over and over with the same message, which had as subject Viagra... but those really obvious messages are put quarantaine anyways :-). Was not being so silly after all ;)
Post Reply