Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Sort Spam Mails in Junk Mail Folder

    Kopano Groupware Core
    3
    5
    2383
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • BMWfan
      BMWfan last edited by BMWfan

      Hey,

      i have migrated my old server which had running DSPAM and Zarafa to Spamassassin and Kopano.
      With DSPAM and Zarafa i had a functionality to make a rightclick in Zarafa Webaccess on a Mail to say it is a Spam.
      The Mail was automatically thrown to the Junk Mail Folder.

      With https://kb.kopano.io/display/WIKI/Kopano-spamd i have the possibility if i move a mail to the junk mail folder that Spamassassin tags it as a spam. But where can i say it is not a spam?

      And how can i verify when i move a mail to the junk mail folder that Spamassassin take it to his spam database?

      When Spamassassin directly identify a mail as a spam mail how can i get this mails directly in the junk mail folder?

      umgfoin 1 Reply Last reply Reply Quote 0
      • umgfoin
        umgfoin @BMWfan last edited by umgfoin

        @bmwfan said:

        With DSPAM and Zarafa i had a functionality to make a rightclick in Zarafa Webaccess on a Mail to say it is a Spam.
        The Mail was automatically thrown to the Junk Mail Folder.

        As far as I remember, this was a Zarafa-feature supplied by a 3rd-party plugin, which is incompatible with Kopano-webapp (atleast until somebody spends time on it).

        To get a similar functionality, ones would have to start a second (modified) kopano-spamd-damon (which effectively is a python-script), watching on new items on a different mail-folder (e.g. “junk unlearn”) and call the sa-learn-process with ham-flags (instead of spam-flags).

        Anyway, as far as I read in the sources, the kopano-team plans to modify the kopano-spamd implementation in direction of a filesystem based export-solution:
        kopano-spamd will then no longer call sa-learn directly for each item, but export spam-mails to a dedicated filesystem-location, where an external (croned) script can take care of further processing. This will work accordingly for a ham-process, too.

        And how can i verify when i move a mail to the junk mail folder that Spamassassin take it to his spam database?

        Imho, you can’t by simple means although it is generally possible.
        Either trust your log-files, or, in the above proposal, consider deletion of a learned-item as an acknowledgement.

        When Spamassassin directly identify a mail as a spam mail how can i get this mails directly in the junk mail folder?

        • Configure Spamassassin to correctly tag your mail-headers.
        • Configure dagent’s spam_header_nameand spam_header_value in dagent.cfg.
        • Kopano-dagent will then move the mail to the spam-folder upon arrival.

        ++umgfoin.

        1 Reply Last reply Reply Quote 1
        • BMWfan
          BMWfan last edited by BMWfan

          I have now installed this plugin https://kb.kopano.io/display/WIKI/Kopano-spamd.

          But the log /var/log/kopano/spamd.log is empty if i make a right click and say “Move to Junk Folder” or if i do it manually.

          Has anybody a idea if there is more todo as described in the readme of this plugin?

          Best Regards

          Daniel

          1 Reply Last reply Reply Quote 0
          • psy0rz
            psy0rz last edited by

            I’ve created a more flexible version of this, it can be found here: https://github.com/psy0rz/kopano-dspam

            We’ve used the zarafa-version of this for a few years with dspam, without any problems.

            This version can be used for any spamfilter that has a retraining-command. It can even undo a training when the user decided to move the mail back again.

            It doesnt just dump mails in a folder to be processed later, like kopano-spamd does.

            BMWfan 1 Reply Last reply Reply Quote 0
            • BMWfan
              BMWfan @psy0rz last edited by BMWfan

              @psy0rz thanks for your response. I would use it if it would be for spamassassin. I migrated from dspam to spamassassin because dspam is quite old… Is your plugin still functioning? Could you tell me what i have to change to use it for spamassassin? Is it dumping the mails in the junk mail folder directly if it indentifies the mail as spam? And how can i tell it that this is not spam?

              Best Regards

              Daniel

              1 Reply Last reply Reply Quote 0
              • First post
                Last post