• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • 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.

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