• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Plesk 9.0 / Spamassassin

H

Hans-Edmund Glomme

Guest
Hello,

at first excuse me my maybe badly english, but I hope that everyone can understand what I mean.

I suse Plesk 9.0, with SA and Greylisting under OpsenSuse 11.0.

I want know how I can see how many spam / ham mails are learned.
Normaly I can find it out with sa-learn --dump magic.

But I don't see it under plesk. So can me someone say how to do it?

Thank you for the help.

Greetings out of Germany
Hans
 
check this one out:

root@DEBUG01:~# sa-learn --dump magic --dbpath /var/qmail/mailnames/spamdomain.local/manuel/.spamassassin/
0.000 0 3 0 non-token data: bayes db version
0.000 0 908 0 non-token data: nspam
0.000 0 10 0 non-token data: nham
0.000 0 34735 0 non-token data: ntokens
0.000 0 1239180583 0 non-token data: oldest atime
0.000 0 1240045478 0 non-token data: newest atime
0.000 0 0 0 non-token data: last journal sync atime
0.000 0 0 0 non-token data: last expiry atime
0.000 0 0 0 non-token data: last expire atime delta
0.000 0 0 0 non-token data: last expire reduction count
root@DEBUG01:~#


You have to insert a "real domain" and "mailbox" in dbpath :)

ys
manuel :)
 
Forgotten to say :(

Hello,

thank you for the help. I forgotten to say that I don't use qmail. I for my part prefer to use postfix.
Is it the same way to work with sa-learn into the shell then with qmail?

Thnx for the help.

Greetings
Hans
 
Hi,

I don't know Postfix very well but I think it also uses Mailboxes?
You can use the standard spamassassin commands but you have to enter the path to the spamassassin configuration for the user, in case the mailbox directory with "./spamassassin/" :)


hope it helps
manuel :)
 
Back
Top