Package: dovecot-sieve Version: 1:2.3.13+dfsg1-1 Severity: wishlist Dear Maintainer,
Background: Dovecot's sieve plugin allows for server-side mail filtering scripts. These are typically stored on a per-user basis. It also allows for a server default script to be run if there are no user scripts for that user, and also both "before" and "after" directories where a series of scripts will be run before and after the user script is run. Debian's dovecot-sieve package does not create the directory where the server default script lives. By (ug) default, this location is: /usr/lib/dovecot/sieve And the file to be put in that location would be default.sieve and then compiled. Debian also does not create the before or after directories. There is no default location for them, but the first suggested location for it given in /etc/dovecot/90-sieve.conf is: #sieve_before = /var/lib/dovecot/sieve.d Request: 1) I propose that the dovecot-sieve package create the default directory that holds default.sieve. 2) I propose a sample default.sieve script be stored in the above directory. Less as an actual sample, and more as a marker for "this is where it goes" 3) I propose that the first suggested location for the "sieve_before" directory be changed to be a subdirectory of the above: #sieve_before = /var/lib/dovecot/sieve/sieve.d 4) I propose a short readme be placed in 3)'s directory. Again, mostly just as a marker for "this is where the before scripts go" Thus the directory structure I propose is: /var/lib/dovecot/sieve/ ├── default.sieve.sample └── sieve.d/ └── readme.before I would be happy to provide the files proposed in #2 and #4. -- Package-specific info: -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-6-amd64 (SMP w/2 CPU threads) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages dovecot-sieve depends on: ii dovecot-core 1:2.3.13+dfsg1-1 ii libc6 2.31-11 ii ucf 3.0043 dovecot-sieve recommends no packages. dovecot-sieve suggests no packages. Versions of packages dovecot-sieve is related to: ii dovecot-core [dovecot-common] 1:2.3.13+dfsg1-1 pn dovecot-dev <none> pn dovecot-gssapi <none> ii dovecot-imapd 1:2.3.13+dfsg1-1 pn dovecot-ldap <none> ii dovecot-lmtpd 1:2.3.13+dfsg1-1 ii dovecot-managesieved 1:2.3.13+dfsg1-1 ii dovecot-mysql 1:2.3.13+dfsg1-1 pn dovecot-pgsql <none> ii dovecot-pop3d 1:2.3.13+dfsg1-1 ii dovecot-sieve 1:2.3.13+dfsg1-1 pn dovecot-sqlite <none> -- no debconf information