• We would like to use one mailbox as a catch-all for our third-party mail archive.
    Kopano moves all SPAM-mails into the SPAM-Folder and we could not find a way to change this for one mailbox only.
    Even a rule for all incomming messages does not work.

    Is there an option, we did not find, to achive the wanted behaviour?


  • While I don’t know if you may achieve something like this with Kopano itself, you might configure postfix to remove the X-SPAM header globally using header_checks.

    Since this is a global setting, you could add a new mail queue in master.cf on port 2525 or so

    2525      inet  n       -       n       -       -       smtpd
      -o smtpd_command_filter=hash:/etc/postfix/header_checks
    

    /etc/posfix/headers_check file

    X-SPAM-Status      IGNORE
    X-SPAM-Flag        IGNORE
    

    Then just use postmap /etc/postfix/headers_check and reload your postfix.

    Once this is setup, you can reroute your recipient to that particular queue (localhost:2525), which will then strip the spam header.

    No idea whether this can be achieved way easier with kopano.

  • Kopano

    Hi @user123,

    the automatic sorting of junk mail into its dedicated folder cannot be configured per user, but only for all users on a system (technically all users delivering through a specified dagent process).

    When you do not want to have junk sorted away you could also disable this in dagent: https://stash.kopano.io/projects/KC/repos/kopanocore/browse/installer/linux/dagent.cfg#35-47