Sort Spam Mails in Junk Mail Folder



  • 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?



  • @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.


Log in to reply
 

Looks like your connection to Kopano Community Forum was lost, please wait while we try to reconnect.