Bug 13132 - dovecot update req: fix unusable sieve_extprograms plugin
Summary: dovecot update req: fix unusable sieve_extprograms plugin
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: has_procedure MGA4-64-OK MGA4-32-OK a...
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2014-04-02 03:35 CEST by Anssi Hannula
Modified: 2014-04-04 23:23 CEST (History)
5 users (show)

See Also:
Source RPM: dovecot
CVE:
Status comment:


Attachments

Description Anssi Hannula 2014-04-02 03:35:31 CEST
CC'd mitya as maintainer. He didn't reply to my email message yet so I've made this request myself.

Suggested advisory:
============
The sieve_extprograms plugin shipped in the dovecot-pigeonhole package on Mageia 4 is installed into an incorrect directory, preventing sieve scripts from being run when the user has enabled the plugin in Dovecot configuration.

This update fixes that issue.
============

Uploaded to mga4 core/updates_testing. Mga3 is not affected, the plugin is a new one.

Source packages:
dovecot-2.2.6-2.1.mga4

Binary packages:
dovecot-2.2.6-2.1.mga4
dovecot-pigeonhole-2.2.6-2.1.mga4
dovecot-pigeonhole-devel-2.2.6-2.1.mga4
dovecot-plugins-pgsql-2.2.6-2.1.mga4
dovecot-plugins-mysql-2.2.6-2.1.mga4
dovecot-plugins-ldap-2.2.6-2.1.mga4
dovecot-plugins-gssapi-2.2.6-2.1.mga4
dovecot-plugins-sqlite-2.2.6-2.1.mga4
dovecot-devel-2.2.6-2.1.mga4

Testing information:
===============
1. Install dovecot dovecot-pigeonhole.
2. Create /etc/dovecot/local.conf:
plugin {
        sieve_plugins = sieve_extprograms
}
3. Create empty sieve script:
   $ touch sievetest.sv
4. Try to compile it:
   $ sievec sievetest.sv

WRONG result:
sievec(anssi): Fatal: opendir(/usr/lib64/dovecot/modules/sieve) failed: No such file or directory
CORRECT result:
No output, sievetest.sv.svbin file created.
===============
Anssi Hannula 2014-04-02 03:36:12 CEST

Whiteboard: (none) => has_procedure

Comment 1 David GEIGER 2014-04-04 21:28:08 CEST
Tested mga4_32,

Testing complete for dovecot-2.2.6-2.1.mga4, Ok for me I confirm that bug is fixed with this update.

Before :
Create /etc/dovecot/local.conf:
plugin {
        sieve_plugins = sieve_extprograms
} 
$ touch sievetest.sv

$ sievec sievetest.sv
sievec(david): Fatal: opendir(/usr/lib/dovecot/modules/sieve) failed: No such file or directory

After :
$ sievec sievetest.sv

$ ls ~/s*
/home/david/sievetest.sv  /home/david/sievetest.sv.svbin

CC: (none) => geiger.david68210

Comment 2 David GEIGER 2014-04-04 21:42:58 CEST
Tested mga4_64,

Testing complete for dovecot-2.2.6-2.1.mga4, Ok for me I confirm that bug is fixed with this update too.

Before :
Create /etc/dovecot/local.conf:
plugin {
        sieve_plugins = sieve_extprograms
} 
$ touch sievetest.sv

$ sievec sievetest.sv
sievec(david): Fatal: opendir(/usr/lib/dovecot/modules/sieve) failed: No such file or directory

After :
$ sievec sievetest.sv

$ ls ~/s*
/home/david/sievetest.sv  /home/david/sievetest.sv.svbin

Whiteboard: has_procedure => has_procedure MGA4-64-OK MGA4-32-OK

Comment 3 Rémi Verschelde 2014-04-04 23:17:50 CEST
Validating update, advisory has been uploaded. Please push to 4 core/updates.

Keywords: (none) => validated_update
Whiteboard: has_procedure MGA4-64-OK MGA4-32-OK => has_procedure MGA4-64-OK MGA4-32-OK advisory
CC: (none) => remi, sysadmin-bugs

Comment 4 Damien Lallement 2014-04-04 23:23:21 CEST
http://advisories.mageia.org/MGAA-2014-0096.html

Status: ASSIGNED => RESOLVED
CC: (none) => mageia
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.