• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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