IMAP session crashes when i'm using UID FETCH (ENVELOPE) on some emails.

Bug #984705 reported by Mathias Lindberg
48
This bug affects 9 people
Affects Status Importance Assigned to Milestone
courier (Debian)
Fix Released
Unknown
courier (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

a4 UID FETCH 51 (ENVELOPE)
* BYE [ALERT] Fatal error: Invalid argument

Seems someone had the same error in the likn below.

http://sourceforge.net/mailarchive/forum.php?thread_name=391071306152014%40web140.yandex.ru&forum_name=courier-imap

Description: Ubuntu 11.10
Release: 11.10

courier-imap:
  Installed: 4.9.1-1ubuntu3
  Candidate: 4.9.1-1ubuntu3
  Version table:
 *** 4.9.1-1ubuntu3 0
        500 http://se.archive.ubuntu.com/ubuntu/ oneiric/universe amd64 Packages
        100 /var/lib/dpkg/status

I expected an ok fetch, i got a fatal error.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: courier-imap 4.9.1-1ubuntu3
ProcVersionSignature: Ubuntu 3.0.0-17.30-server 3.0.22
Uname: Linux 3.0.0-17-server x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Wed Apr 18 11:13:37 2012
InstallationMedia: Ubuntu-Server 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: courier
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.courier.imapd: 2008-08-21T21:53:05.910122

Revision history for this message
Mathias Lindberg (shambulance) wrote :
Revision history for this message
Mathias Lindberg (shambulance) wrote :

Seems to be fixed in 4.9.3

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in courier (Ubuntu):
status: New → Confirmed
Revision history for this message
msp3k (peek-nimbios) wrote :

The following will allow one to compile courier 0.68.2, which supposedly does not suffer from this bug. It's untested though.

Revision history for this message
msp3k (peek-nimbios) wrote :

Supposedly the latest 0.68.2 version of courier does not suffer from this bug. You can take the patch from http://archive.ubuntu.com/ubuntu/pool/universe/c/courier/courier_0.66.1-1ubuntu4.diff.gz and apply it to the latest courier-0.68.1.tar.bz2 and compile to get packages that you can then install w/ dpkg. Attached is a patch that I created against 0.68.2. It compiles, but it's not yet tested, so caveat emptor.

Revision history for this message
msp3k (peek-nimbios) wrote :

Please disregard my earlier post. This does not seem to fix the problem.

Revision history for this message
Matthijs van Wageningen (matthys70) wrote :

When will this be fixed? Got the same issue :-(

Revision history for this message
MikeM (michaelm) wrote :

This bug affects 12.04 (precise) too.

Any chance the Courier-IMAP 4.9.3 diff can be applied to the Ubuntu release to fix this bug?

From: http://www.courier-mta.org/imap/changelog.html
------------------
4.9.3

2011-05-22 Sam Varshavchik <email address hidden>

 * msgenvelope.c (msgappends): Fix a fatal error upon encountering
 8-bit header content. Heuristically try to interpret it as UTF-8, and
 just ignore invalid UTF-8 sequences.
------------------

This is reported against Debian too:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630166

tags: added: precise
Changed in courier (Debian):
status: Unknown → New
Changed in courier (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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