SRU: dovecot-antispam Incompatible

Bug #494162 reported by Jonathan Fosburgh
126
This bug affects 22 people
Affects Status Importance Assigned to Milestone
dovecot-antispam (Ubuntu)
Fix Released
Medium
Unassigned
Lucid
Fix Released
Medium
Unassigned
Maverick
Fix Released
Medium
Unassigned
Natty
Fix Released
Medium
Unassigned

Bug Description

dovecot-antispam needs a no-change rebuild against dovecot in lucid.
It currently does not load the plugin.

TESTCASE:
** On Lucid **

# apt-get install dovecot-antispam

This installs dovecot as well.

Open /etc/dovecot/dovecot.conf, find the line inside imap { ... } saying "#mail_plugins = ", uncomment and change into
 "mail_plugins = antispam".

# /etc/init.d/dovecot restart

# useradd dctest -m
 # passwd dctest
  > test
  > test

# telnet localhost 143
 > a01 login dctest test
 Connection closed by foreign host.

# grep antispam /var/log/mail.log
 Nov 5 13:34:02 test.intux dovecot: IMAP(dctest): Module is for different version 1.1.11: /usr/lib/dovecot/modules/imap/lib90_antispam_plugin.so

Expected:
no such error.

original report:
On amd64 (lucid) the dovecot-antispam filter fails with the following error:

Dec 8 12:08:23 asgard dovecot: IMAP(wotan): Module is for different version 1.1 .11: /usr/lib/dovecot/modules/imap/lib90_antispam_plugin.so

root@asgard:/var/log# uname -a
Linux asgard 2.6.31-16-generic #52-Ubuntu SMP Thu Dec 3 22:07:16 UTC 2009 x86_64 GNU/Linux

root@asgard:/var/log# lsb_release -rd
Description: Ubuntu lucid (development branch)
Release: 10.04

root@asgard:/var/log# apt-cache policy dovecot-common
dovecot-common:
  Installed: 1:1.2.6-1ubuntu1
  Candidate: 1:1.2.6-1ubuntu1
  Version table:
 *** 1:1.2.6-1ubuntu1 0
        500 http://mirror.anl.gov lucid/main Packages
        100 /var/lib/dpkg/status

root@asgard:/var/log# apt-cache policy dovecot-antispam
dovecot-antispam:
  Installed: 1.2+20090702-1
  Candidate: 1.2+20090702-1
  Version table:
 *** 1.2+20090702-1 0
        500 http://mirror.anl.gov lucid/universe Packages
        100 /var/lib/dpkg/status

Revision history for this message
cr0w (nielot) wrote :

root@s1:/etc/apt# lsb_release -rd
Description: Ubuntu 10.04 LTS
Release: 10.04

Jun 8 15:45:31 s1 dovecot: IMAP(****@****): Module is for different version 1.1.11: /usr/lib/dovecot/modules/imap/lib90_antispam_plugin.so

Revision history for this message
bjoh (jb-5pm) wrote :

Also affects i386 build.

There does not seem to be a version with matching dovecot in Debian.
Please rebuild with correct header files.

Revision history for this message
Karoly Molnar (karoly-molnar) wrote :

The date of the binary package is Nov 9, 2009. I rebuilt the package without changing anything on the source package and after installation the error message does not appear anymore. So I guess we just need to trigger a rebuild. Any MOTU around to do that?

Revision history for this message
Karoly Molnar (karoly-molnar) wrote :

As I see the package in its current form is not too useful since it provides the mailtrain backend only. If one wants the dspam or crm backend one needs to compile it for itself. Ideally there should be packages built from the source for the different backends:
dovecot-antispam-dspam - direct dspam training by calling dspam executable
dovecot-antispam-signature-log - signature logging using dovecot's dict API
dovecot-antispam-mailtrain - send mail to special addresses for training
dovecot-antispam-crm114 - direct crm114 training by calling mailreaver.crm

I'll see if I can spare the time to do it

Revision history for this message
Tobias Dussa (tobias-launchpad-dussa) wrote :

Is any maintainer listening in on this bug? Could someone responsible please trigger a rebuild? After all, this is an LTS release!

Revision history for this message
reliable-robin-22 (nicolasdiogo) wrote :

is anybody listening to this bug.

it is down as new and unassigned.

this problem has been around for a while already and nobody is working to fix it.

surely, email server is something important on our days.

with regards,

Nicolas

Revision history for this message
Rainer Klaffenboeck (rainer-klaffenboeck) wrote :

this also affects maverick 32-bit

Revision history for this message
hads (hads) wrote :

I can confirm this.

Though the description of this bug is not quite correct, as has been commented already it effects all arch

For the moment you can workaround with the following;

apt-get source dovecot-antispam
cd dovecot-antispam-1.2+20090702
dpkg-buildpackage
cd ..
sudo dpkg -i dovecot-antispam_1.2+20090702-1_i386.deb

(the build package depends on your arch).

Revision history for this message
Bart Verwilst (verwilst) wrote :

Is there really not a single person with 3 minutes time to spend to just recompile this package and be done with it?? The time it took to mark the other bug as a duplicate was enough to do this.

Revision history for this message
FloSoft (flosoft) wrote :

same on maverick

Revision history for this message
Lars (lars-taeuber) wrote :

Please change the importance to high, because it prevents a LTS version from being used as a dovcot IMAP server on a larger setup.

And the solution seems quite simple.

Thanks.
Lars

Changed in dovecot-antispam (Ubuntu):
status: New → Confirmed
Revision history for this message
Petr E. Antonov (antpeter) wrote :

Please provide the current status of this bug.

Revision history for this message
beniwtv (beniwtv-deactivatedaccount) wrote :

Still an issue on Lucid, as Lars pointed out.

Revision history for this message
Bart Verwilst (verwilst) wrote :

To reproduce:

** On Lucid **

# apt-get install dovecot-imap

This installs dovecot as well.

Open /etc/dovecot/dovecot.conf, find the line inside imap { ... } saying "#mail_plugins = ", uncomment and change into
"mail_plugins = antispam".

# /etc/init.d/dovecot restart

# useradd dctest -m
# passwd dctest
 > test
 > test

# telnet localhost 143
> a01 login dctest test
Connection closed by foreign host.

# grep antispam /var/log/mail.log
Nov 5 13:34:02 test.intux dovecot: IMAP(dctest): Module is for different version 1.1.11: /usr/lib/dovecot/modules/imap/lib90_antispam_plugin.so

A simple recompile of the package solve this issue.

Revision history for this message
Bart Verwilst (verwilst) wrote :

Arg, above it should be "apt-get install dovecot-antispam", not "dovecot-imap"!

Julian Taylor (jtaylor)
description: updated
summary: - Incompatible filter on amd64 (lucid)
+ SRU: dovecot-antispam Incompatible
description: updated
Julian Taylor (jtaylor)
Changed in dovecot-antispam (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → High
Changed in dovecot-antispam (Ubuntu Lucid):
importance: Undecided → Medium
status: New → Triaged
Changed in dovecot-antispam (Ubuntu):
status: Triaged → Fix Released
importance: High → Medium
Revision history for this message
Stefano Rivera (stefanor) wrote :

Uploaded a no-change rebuild to lucid-proposed. Pending SRU team review.

As the same version was published in natty and maverick, I'd better upload SRUs there too.

Changed in dovecot-antispam (Ubuntu Lucid):
status: Triaged → Fix Committed
Revision history for this message
Stefano Rivera (stefanor) wrote :

Oneiric and precise are not affected, thanks to bug #831121, which means it isn't published in oneiric, and is fixed in precise.

Changed in dovecot-antispam (Ubuntu Maverick):
importance: Undecided → Medium
status: New → Fix Committed
Changed in dovecot-antispam (Ubuntu Natty):
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello Jonathan, or anyone else affected,

Accepted dovecot-antispam 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!

tags: added: verification-needed
Revision history for this message
Martin Pitt (pitti) wrote :

Hello Jonathan, or anyone else affected,

Accepted dovecot-antispam into maverick-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!

Revision history for this message
Martin Pitt (pitti) wrote :

Hello Jonathan, or anyone else affected,

Accepted dovecot-antispam into natty-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!

Revision history for this message
beniwtv (beniwtv-deactivatedaccount) wrote :

Hi Martin,

This is for natty, but not for lucid, which is the problem we are having. Could you upload this also to lucid-proposed?

Revision history for this message
Martin Pitt (pitti) wrote :

It was already accepted into lucid-proposed yesterday, see comment 18.

Revision history for this message
beniwtv (beniwtv-deactivatedaccount) wrote :

Hi Martin,

Sorry for the confusion, yesterday the package was not yet available on the mirror. Today I installed it from -proposed and it is working as intended.

Revision history for this message
Martin Pitt (pitti) wrote :

Thanks for testing!

tags: added: verification-done-lucid
Revision history for this message
Stefano Rivera (stefanor) wrote :

Verified on maverick and natty i386

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

This bug was fixed in the package dovecot-antispam - 1.2+20090702-1ubuntu0.10.04.1

---------------
dovecot-antispam (1.2+20090702-1ubuntu0.10.04.1) lucid-proposed; urgency=low

  * No-change rebuild against newer dovecot (LP: #494162)
 -- Stefano Rivera <email address hidden> Sun, 13 Nov 2011 23:25:55 +0200

Changed in dovecot-antispam (Ubuntu Lucid):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dovecot-antispam - 1.2+20090702-1ubuntu0.10.10.1

---------------
dovecot-antispam (1.2+20090702-1ubuntu0.10.10.1) maverick-proposed; urgency=low

  * No-change rebuild against newer dovecot (LP: #494162)
 -- Stefano Rivera <email address hidden> Sun, 13 Nov 2011 23:45:01 +0200

Changed in dovecot-antispam (Ubuntu Maverick):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dovecot-antispam - 1.2+20090702-1ubuntu0.11.04.1

---------------
dovecot-antispam (1.2+20090702-1ubuntu0.11.04.1) natty-proposed; urgency=low

  * No-change rebuild against newer dovecot (LP: #494162)
 -- Stefano Rivera <email address hidden> Sun, 13 Nov 2011 23:46:29 +0200

Changed in dovecot-antispam (Ubuntu Natty):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

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