• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

qmail-scanner-reconfigure not working

J

jsimarro

Guest
I have tried to execute many times 'qmail-scanner-reconfigure' on my Linux Plesk 8.2.1, in order to set sa_delta=1, sa_delete=5 and sa_reject=1 (yes), on a per_user profile of SA/qmail scanner 2.01.

I have tried it after stopping spamassassin and psa-spamassassin, and after stopping only one of then. Always after changing my '/etc/qmail-scanner.ini':

SETTINGS_PER_DOMAIN="yes"
SA_DELTA="1"
SA_DELETE="5"
SA_REJECT="yes"

Te result is always the same: sa_delta=0, sa_delete=0 and sa_reject=0.

Anyway, if I try to modify manually 'qmail-scanner-queue.pl', even after restarting xinetd, messages are not rejected over the desired score.

I don't have any more ideas. Since I upgraded from 8.1.1, my SA is not working fine. Any suggestions?

Jose Luis Simarro
http://www.saeconsulting.com
 
Ooops, nope. Moreover, I think I don't know how to do it.
 
just run qmail-scanner-queue.pl -h:

qmail-scanner-queue.pl 2.01st-20061223

-h - This help
-v - show details about this install.
Please include in any bug reports.
-V - show details about this install
and some configuration information.
-z - gather virus scanner/DAT versions
and cleanup old temp files
-g - generate perlscanner database
-r - read from perlscanner database

-p - generate settings per domain database
-d - display settings per domain database
-s - sort the text file /var/spool/qscan/settings_per_domain.txt
 
Something is wrong: I execute literally:

# /var/qmail/bin/qmail-scanner-queue.pl -p

Generating /var/spool/qscan/settings_per_domain.db

And I only find the file:

/var/spool/qscan/settings_per_domain.db.tmp

I am doing anything wrong, and I think this was easier in 8.1 (just changing manually qmail-scanner-queue.pl and restart xinet). Sorry.
 
Yes, each line with this:

myclientdomain.com:clamdscan,ps’****SPAM****’0’1’5’1’’’’

Then regenerating the database, and reconfiguring, restarting xinet and starting SA.

Nothing happens. I am receiving emails with more than 100 points of score.
 
Your configuration is incorrect, you've turned spamassassin off with that, what you want that to read is:

myclientdomain. com:sa,clamdscan,ps’****SPAM****’0’1’5’1’’’’
 
There is some error yet. I think I have read all this forum and ART's one, but I have forgotten something (I did all OK when PSA 8.1). I have done the following now:

0 - I had already installed and running sa and psa-sa, so not necessary to install sa, but reconfigure.

1 - I stopped sa from SSH and psa-sa from Plesk.

2 - I checked that '/etc/qmail-scanner.ini' had the following:

SETTINGS_PER_DOMAIN="yes"
SA_DELTA="1"
SA_DELETE="5"
SA_REJECT="yes"

3 - I edited the '/var/spool/qscan/settings_per_domain.txt' with this format:

mydomain.com:sa,clamdscan,ps'****SPAM****'0'1'5'1''''

4 - I executed '/var/qmail/bin/qmail-scanner-queue.pl -p', so I got generated '/var/spool/qscan/settings_per_domain.db'

5 - When I execute 'qmail-scanner-reconfigure' it requests from me some parameter. I press 'Intro' another time and it runs and finishes.

6 - Then I start sa and psa-sa (I know they are two different instances, but I want to be sure that at less one of them is running properly) and restart xinetd.

7 - SpamAssassin marks all the messages correctly, but it does not reject messages with a score over "score+5" (score+sa_delete). I am receiving messages with a score over 200.

8 - After reconfigure, 'qmail-scanner-queue.pl' (both '/var/qmail/bin' and '/usr/share/qmail-scanner') changes its values to defaults. Even if I try to change it manually and restart xinetd, I get messages over the score.

¿Some ideas?
 
Back
Top