1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Plesk 9.0 / Spamassassin

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by Hans-Edmund Glomme, Apr 10, 2009.

  1. Hans-Edmund Glomme

    Hans-Edmund Glomme Guest

    0
     
    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
     
  2. Manuel Mitteregger

    Manuel Mitteregger Basic Pleskian

    24
    73%
    Joined:
    Apr 8, 2009
    Messages:
    29
    Likes Received:
    0
    Location:
    DACH
    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 :)
     
  3. Denis Sirochenko

    Denis Sirochenko Guest

    0
     
  4. Hans-Edmund Glomme

    Hans-Edmund Glomme Guest

    0
     
    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
     
  5. Manuel Mitteregger

    Manuel Mitteregger Basic Pleskian

    24
    73%
    Joined:
    Apr 8, 2009
    Messages:
    29
    Likes Received:
    0
    Location:
    DACH
    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 :)
     
Loading...