Georg Lauterbach b22fa0b7c2 fix(rspamd): do not learn messages moved from Junk to Trash as ham (#4855)
Since the Dovecot 2.4 migration (v16), `imapsieve_from Junk` fires for
every copy out of `Junk`, and `learn-ham.sieve` piped each one to
`rspamc learn_ham`. Deleting a message from `Junk` therefore trained the
classifier to treat it as ham.

The script now stops when the destination is `Junk` itself or a mailbox
with the `\Trash` special-use attribute, as in the upstream Dovecot 2.4
spam reporting example. Ham is learned for moves to any other folder.

Fixes #4831

Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
2026-11-16 11:58:58 +01:00
2021-01-16 10:16:05 +01:00
2026-11-06 00:49:20 +01:00
2023-05-26 01:39:39 +02:00

Docker Mailserver

ci::status docker::pulls documentation::badge

📃 About

A production-ready fullstack but simple containerized mail server (SMTP, IMAP, LDAP, Anti-spam, Anti-virus, etc.).

  • Only configuration files, no SQL database. Keep it simple and versioned. Easy to deploy and upgrade.
  • Originally created by @tomav, this project is now maintained by volunteers since January 2021.

Tip

Be sure to read our documentation. It provides guidance on initial setup of your mail server.

Important

If you have issues, please search through the documentation for your version before opening an issue.

The issue tracker is for issues, not for personal support.
Make sure the version of the documentation matches the image version you're using!

  1. FAQ
  2. Usage
  3. Examples
  4. Issues and Contributing
  5. Release Notes
  6. Environment Variables
  7. Updating

📦 Included Services

S
Description
Готовый к работе полнофункциональный, но простой почтовый сервер (SMTP, IMAP, LDAP, защита от спама, антивирус и т.д.), работающий внутри контейнера
Readme MIT
39 MiB
0 Stars 1 Watchers 0 Forks
Languages
Shell 97.4%
Dockerfile 1.7%
Makefile 0.4%
Python 0.3%