[SRU] dovecot-postfix references cmusieve as a mail plugin

Bug #573345 reported by rolfy
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
dovecot (Ubuntu)
Fix Released
High
Unassigned
Lucid
Fix Released
High
Scott Kitterman

Bug Description

Binary package hint: dovecot-postfix

From googling, cmusieve should be sieve.

Once i change this line in the generated /etc/dovecot/conf.d/01-dovecot-postfix.conf file, mail will start getting sent.
diff:
26c26,27
< mail_plugins = cmusieve
---
> # mail_plugins = cmusieve
> mail_plugins = sieve

If i leave it as cmusieve, an error appears in /var/log/mail.log

May 2 08:15:18 gandalf2010 dovecot: deliver(rolfy): Fatal: Plugin cmusieve not found from directory /usr/lib/dovecot/modules/lda

As a hope to answer most of the questions you might have:
1> lsb_release -rd
Description: Ubuntu 10.04 LTS
Release: 10.04

2>apt-cache policy dovecot-postfix
dovecot-postfix:
  Installed: 1:1.2.9-1ubuntu6
  Candidate: 1:1.2.9-1ubuntu6
  Version table:
 *** 1:1.2.9-1ubuntu6 0
        500 http://au.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

3/4> explained by the initial diff - i expected to get a working dovecot as described, but due to the 'cmusieve' setting in plugins errors appear in mail.log rather than mail getting successfully sent.

I guess other pertinent information is that this happened on a new lucid install, and it's pretty much the first thing i did (aptitude install dovecot-postfix)

As an aside, the package theoretically offers SASL out of the box, but i never get the AUTH lines when telnetting to localhost port 25, so i'm guessing that's an issue too, but i'll try to figure out why and give something more definite in a different bug report :|

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: dovecot-postfix 1:1.2.9-1ubuntu6
ProcVersionSignature: Ubuntu 2.6.32-21.32-server 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-server x86_64
Architecture: amd64
Date: Sun May 2 08:27:28 2010
InstallationMedia: Ubuntu-Server 10.04 LTS "Lucid Lynx" - Release amd64 (20100427)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: dovecot

Revision history for this message
rolfy (rolfy-rolfy) wrote :
Revision history for this message
Ante Karamatić (ivoks) wrote :

I'm attaching the patch for this issue. As for SMTP-AUTH, dovecot-postfix doesn't allow authentication over unencrypted protocol. So, telneting to port 25 won't give you anything, but you can try this:

openssl s_client -connect localhost:25 -starttls smtp

and then run ehlo hostname.

Changed in dovecot (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Revision history for this message
rolfy (rolfy-rolfy) wrote :

it took me hours to figure that out googling (the smtp-auth) but thanks v. much for the info, it confirms what i'd decided.

This had an easy work around, was just annoying, but thanks for the quick response!

Revision history for this message
Damian Friedli (damian-friedli) wrote :

Got this too. Easy to fix but endless boring to find :-(

protocol lda {
    mail_plugins = sieve
}

Changed in dovecot (Ubuntu Lucid):
milestone: none → ubuntu-10.04.1
importance: Undecided → High
status: New → In Progress
assignee: nobody → Scott Kitterman (kitterman)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dovecot - 1:1.2.9-1ubuntu7

---------------
dovecot (1:1.2.9-1ubuntu7) maverick; urgency=low

  * Use sieve plugin instead of cmusieve for dovecot-postfix
    (LP: #573345)
 -- Ante Karamatic <email address hidden> Sun, 02 May 2010 08:39:34 +0200

Changed in dovecot (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Scott Kitterman (kitterman) wrote :

Also uploaded to lucid-propsed

Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted dovecot into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in dovecot (Ubuntu Lucid):
status: In Progress → Fix Committed
tags: added: verification-needed
Chuck Short (zulcss)
summary: - dovecot-postfix references cmusieve as a mail plugin
+ [SRU] dovecot-postfix references cmusieve as a mail plugin
Revision history for this message
Scott Kitterman (kitterman) wrote :

Quite a number of people said this bug affected them. Would one of you please test the proposed fix.

Revision history for this message
rolfy (rolfy-rolfy) wrote :

i submitted a diff of exactly the change that I made.

While i can look and say 'yes, this looks like its the same', so can anyone else, so I'm not sure the value in me validating that you've changed what i changed.

I had a look at your diff, and it is indeed the same as my diff (mine obviously didn't have the header/footer changes), and given i've tested my change, i guess your change works, by virtue of the fact that it's the same as mine, which i've tested.

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 573345] Re: [SRU] dovecot-postfix references cmusieve as a mail plugin

rolfy [2010-06-10 7:44 -0000]:
> While i can look and say 'yes, this looks like its the same', so can
> anyone else, so I'm not sure the value in me validating that you've
> changed what i changed.

The main point is to test the actual .deb from -proposed, to ensure
that the changes were applied correctly, and that the package wasn't
misbuilt due to changes in underlying toolchain, libraries, or
accidents.

Revision history for this message
rolfy (rolfy-rolfy) wrote :

i realise that was the point.... my point being given i've manually fixed the problem, it's probably non trivial for me to fix, as i'm not really in a position to test via deb.

Revision history for this message
Данило Шеган (danilo) wrote :

I've tested the package from -proposed on my mail server and it fixed this problem for me. I haven't tried using sieve support yet, but this error is gone from the log files.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dovecot - 1:1.2.9-1ubuntu6.1

---------------
dovecot (1:1.2.9-1ubuntu6.1) lucid-proposed; urgency=low

  * Use sieve plugin instead of cmusieve for dovecot-postfix
    (LP: #573345)
 -- Ante Karamatic <email address hidden> Sun, 02 May 2010 08:39:34 +0200

Changed in dovecot (Ubuntu Lucid):
status: Fix Committed → Fix Released
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.