Thanks to visit codestin.com
Credit goes to github.com

Skip to content

bug report: Learning spam fails when moving a mail to junk folderΒ #4599

@mgaugusch

Description

@mgaugusch

πŸ“ Preliminary Checks

  • I tried searching for an existing issue and followed the debugging docs advice, but still need assistance.

πŸ‘€ What Happened?

When moving a mail into the junk folder, the docker container logs the following error:

Error: sieve: binary /usr/lib/dovecot/sieve-pipe/learn-spam.svbin: save: failed to create temporary file

πŸ‘Ÿ Reproduction Steps

After changing the permissions, it worked:

root@mail2:/usr/lib/dovecot/sieve-pipe# chgrp 5000 .
root@mail2:/usr/lib/dovecot/sieve-pipe# chmod g+w .

A new file with ".svbin" extension was created in that directory upon moving the next spam mail into junk folder:

root@mail2:/usr/lib/dovecot/sieve-pipe# ls -la
total 12
drwxrwxr-x 2 dovecot docker  91 Nov  3 20:18 .
drwxr-xr-x 1 root    root    64 Oct  5 14:25 ..
-rw-r--r-- 1 root    root   111 Oct  5 14:25 learn-ham.sieve
-rw-r--r-- 1 root    root   112 Oct  5 14:25 learn-spam.sieve
-rw-r--r-- 1 docker  docker 320 Nov  3 20:18 learn-spam.svbin
lrwxrwxrwx 1 root    root    15 Oct  5 14:25 rspamc -> /usr/bin/rspamc

πŸ‹ DMS Version

v15.1.0

πŸ’» Operating System and Architecture

Ubuntu 24.04.3 LTS

βš™οΈ Container configuration files

πŸ“œ Relevant log output


Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions