dovecot-sieve missing module files

Bug #1712237 reported by Bill Duetschler
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dovecot (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

the dovecot-sieve plugin version 1:2.2.22-1ubuntu2.4 on Xenial/16.04 is missing two module files, /usr/lib/dovecot/modules/lib95_imap_sieve_plugin.so and /usr/lib/dovecot/modules/sieve/lib90_sieve_imapsieve_plugin.so. This causes dovecot startup to fail if one attempts to use the instructions at https://wiki2.dovecot.org/HowTo/AntispamWithSieve to set up rules to train spamassassin automatically when a user moves mail messages into or out of a designated "Spam" or "Junk" folder.

Files included in the Ubuntu Xenial version, retrieved from https://packages.ubuntu.com/xenial/amd64/dovecot-sieve/filelist:

/usr/bin/sieve-dump
/usr/bin/sieve-filter
/usr/bin/sieve-test
/usr/bin/sievec
/usr/lib/dovecot/libdovecot-sieve.so
/usr/lib/dovecot/libdovecot-sieve.so.0
/usr/lib/dovecot/libdovecot-sieve.so.0.0.0
/usr/lib/dovecot/modules/doveadm/lib10_doveadm_sieve_plugin.so
/usr/lib/dovecot/modules/lib90_sieve_plugin.so
/usr/lib/dovecot/modules/sieve/lib90_sieve_extprograms_plugin.so
/usr/share/bug/dovecot-sieve
/usr/share/doc/dovecot-sieve/changelog.Debian.gz
/usr/share/doc/dovecot-sieve/copyright
/usr/share/dovecot/conf.d/90-sieve-extprograms.conf
/usr/share/dovecot/conf.d/90-sieve.conf
/usr/share/man/man1/sieve-dump.1.gz
/usr/share/man/man1/sieve-filter.1.gz
/usr/share/man/man1/sieve-test.1.gz
/usr/share/man/man1/sievec.1.gz
/usr/share/man/man1/sieved.1.gz

Files included with dovecot-sieve on Debian Sid, retrieved from: https://packages.debian.org/sid/amd64/dovecot-sieve/filelist

/usr/bin/sieve-dump
/usr/bin/sieve-filter
/usr/bin/sieve-test
/usr/bin/sievec
/usr/lib/dovecot/libdovecot-sieve.so
/usr/lib/dovecot/libdovecot-sieve.so.0
/usr/lib/dovecot/libdovecot-sieve.so.0.0.0
/usr/lib/dovecot/modules/doveadm/lib10_doveadm_sieve_plugin.so
/usr/lib/dovecot/modules/lib90_sieve_plugin.so
/usr/lib/dovecot/modules/lib95_imap_sieve_plugin.so
/usr/lib/dovecot/modules/sieve/lib90_sieve_extprograms_plugin.so
/usr/lib/dovecot/modules/sieve/lib90_sieve_imapsieve_plugin.so
/usr/share/bug/dovecot-sieve
/usr/share/doc/dovecot-sieve/changelog.Debian.gz
/usr/share/doc/dovecot-sieve/changelog.gz
/usr/share/doc/dovecot-sieve/copyright
/usr/share/dovecot/conf.d/90-sieve-extprograms.conf
/usr/share/dovecot/conf.d/90-sieve.conf
/usr/share/man/man1/sieve-dump.1.gz
/usr/share/man/man1/sieve-filter.1.gz
/usr/share/man/man1/sieve-test.1.gz
/usr/share/man/man1/sievec.1.gz
/usr/share/man/man1/sieved.1.gz

Tags: xenial
tags: added: xenial
Revision history for this message
Joshua Powers (powersj) wrote :

Hi! Thanks for taking the time to file a bug report.

It appears those files are in zesty and artful, but not xenial or earlier. After looking at the source of the version of dovecot in xenial I found the following references to imapsieve plugin:

dovecot-2.2.22 grep -ir "imapsieve" .
./pigeonhole/README: imapsieve (RFC 6785): partially implemented.
./pigeonhole/TODO:* Implement IMAP plugin for IMAPSieve support:
./debian/patches/pigeonhole.patch:+ imapsieve (RFC 6785): partially implemented.
./debian/patches/pigeonhole.patch:+* Implement IMAP plugin for IMAPSieve support:

Looking at the patch file it looks like initial support for imapsieve was added, but again it was preliminary. Xenial has version v0.4.13 of pigeonhole, while zesty has v0.4.16. From the website tutorial you linked it starts with "You will need at least pigeonhole v0.4.14 for this".

Therefore, I believe this would require new features and functionality to be pushed back into Xenial to function. If you need a fix for the bug in previous versions of Ubuntu, then the
relevant procedure is documented here:

https://wiki.ubuntu.com/StableReleaseUpdates

However, I am not sure this bug would qualify under that policy, although
I am not on the SRU team and cannot make that decision.

Changed in dovecot (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for dovecot (Ubuntu) because there has been no activity for 60 days.]

Changed in dovecot (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.