Bug#410529: getmail: Corrupt message, Expected list, got type 'str' when getting mails forwarded from Novell Groupwise

2007-02-16 Thread Stefan Denker
On Thu, Feb 15, 2007 at 01:16:17PM +0100, Fredrik Steen wrote:
 On Sun, 2007-02-11 at 14:51 +0100, Stefan Denker wrote:
 complains the mail is badly-corrupt and builds a container around the
 original mail.
 The getmail wraps the message because the email module in python 
 chokes on some badly-formatted messages. This is a known bug in the
 email module in python2.3. Using python2.4 will fix this. When python2.4
 is the default python in Debian getmail will handle corrupt messages
 much better.

Thanks for this hint, but it seems to me I am using python 2.4: 

[EMAIL PROTECTED]:~$ readlink /usr/bin/python
python2.4
[EMAIL PROTECTED]:~$ dpkg --get-selections |grep python
python  install
python-apt  install
python-central  install
python-gammuinstall
python-minimal  install
python-newt install
python-qt3  install
python-selinux  install
python-semanage install
python-sip4 install
python-support  install
python-uno  install
python-wxgtk2.6 install
python-wxversioninstall
python2.4   install
python2.4-minimal   install
[EMAIL PROTECTED]:~$ cat /etc/debian_version 
4.0

Any more hints? This is really annoying to me, I got 70 mails forwardet
from work yesterday and hat to sort out 5 interesting ones from the
rest..

Thanks in advance

Stefan

-- 
I recommend my soul to any god that can find it.
(Moist van Lipwig)  [Terry Pratchett Going postal]


signature.asc
Description: Digital signature


Bug#410529: getmail: Corrupt message, Expected list, got type 'str' when getting mails forwarded from Novell Groupwise

2007-02-15 Thread Fredrik Steen
On Sun, 2007-02-11 at 14:51 +0100, Stefan Denker wrote:
 Package: getmail
 Version: 4.6.5
 Severity: normal
 
 
 Whenever I receive an E-mail forwarded from my working place, getmail
 complains the mail is badly-corrupt and builds a container around the
 original mail. Mail directly sent to me is delivered correctly. this
 Problem only exists if the mail is delivered to some Groupwise Mailbox
 at work and then forwarded to my home mailbox. 
 
 This is the Message (modified to anynomize the company i work for)
 after getmail: 

Hello, 

The getmail wraps the message because the email module in python 
chokes on some badly-formatted messages. This is a known bug in the
email module in python2.3. Using python2.4 will fix this. When python2.4
is the default python in Debian getmail will handle corrupt messages
much better.

See bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=294939
for more information.

// Fredrik



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#410529: getmail: Corrupt message, Expected list, got type 'str' when getting mails forwarded from Novell Groupwise

2007-02-11 Thread Stefan Denker
Package: getmail
Version: 4.6.5
Severity: normal


Whenever I receive an E-mail forwarded from my working place, getmail
complains the mail is badly-corrupt and builds a container around the
original mail. Mail directly sent to me is delivered correctly. this
Problem only exists if the mail is delivered to some Groupwise Mailbox
at work and then forwarded to my home mailbox. 

This is the Message (modified to anynomize the company i work for)
after getmail: 

snipp---
From [EMAIL PROTECTED] Sat Feb 10 18:02:40 2007
Return-Path: [EMAIL PROTECTED]
From: unknown sender 
Subject: Corrupt message received
Date: Sat, 10 Feb 2007 18:02:40 +0100

A badly-corrupt message was retrieved and could not be parsed
for the following reason:

Expected list, got type 'str'

Below the following line is the original message contents.

--
Return-Path: [EMAIL PROTECTED]
X-Original-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: from localhost (localhost.ln.dn-kr.de [127.0.0.1])
by Franz.ln.dn-kr.de (Postfix) with ESMTP id 93B3081AB5
for [EMAIL PROTECTED]; Fri,  9 Feb 2007 14:48:55 +0100 (CET)
Received: from Franz.ln.dn-kr.de ([127.0.0.1])
by localhost (franz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
id 13143-02 for [EMAIL PROTECTED];
Fri, 9 Feb 2007 14:48:52 +0100 (CET)
Received: from localhost (localhost.ln.dn-kr.de [127.0.0.1])
by Franz.ln.dn-kr.de (Postfix) with ESMTP id 2FEC081AB1
for [EMAIL PROTECTED]; Fri,  9 Feb 2007 14:48:52 +0100 (CET)
X-Original-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: from wrath.ancalagon.de [217.160.178.241]
by localhost with POP3 (fetchmail-6.2.5)
for [EMAIL PROTECTED] (single-drop); Fri, 09 Feb 2007 14:48:52 +0100 
(CET)
Received: from pop3.smtp.isp (pop3.smtp.isp [10.16.224.23])
by wrath.ancalagon.de (Postfix) with ESMTP id 8CDB31404758
for [EMAIL PROTECTED]; Fri,  9 Feb 2007 14:43:15 +0100 (CET)
Received: by pop3.smtp.isp (Postfix, from userid 1002)
id 712E137AE5; Fri,  9 Feb 2007 14:43:15 +0100 (CET)
Received: from linux.work.place (webmail.work.place [10.16.235.26])
by pop3.smtp.isp (Postfix) with ESMTP id 56C3D37ACC
for [EMAIL PROTECTED]; Fri,  9 Feb 2007 14:43:15 +0100 (CET)
Received: from linux.work.place (linux.work.place [127.0.0.1])
by linux.work.place (Postfix) with ESMTP id 78A0BBE83
for [EMAIL PROTECTED]; Fri,  9 Feb 2007 14:42:33 +0100 (CET)
Received: from novell3.work.place (novell3.work.place [172.20.8.6])
by linux.work.place (Postfix) with ESMTP id C5C30BE82
for [EMAIL PROTECTED]; Fri,  9 Feb 2007 14:42:31 +0100 (CET)
Received: from DOM-KHD-MTA by novell3.work.place
with Novell_GroupWise; Fri, 09 Feb 2007 14:43:11 +0100
Message-Id: [EMAIL PROTECTED]
X-Mailer: Novell GroupWise Internet Agent 6.5.1
Date: Fri, 09 Feb 2007 14:42:52 +0100
From: Stefan Denker [EMAIL PROTECTED]
Sender: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Errors-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Wtrlt: Und hier eine Mail, die an mich weitergeleitet wird
(WORK-Mail)
Mime-Version: 1.0
Content-Type: message/rfc822
X-Antivirus: Scanned by F-Prot Antivirus (http://www.f-prot.com)
X-UIDL: b`!JV!0iR!!=lb!!
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ln.dn-kr.de
X-Spam-Status: No, hits=-2.4 tagged_above=-999.0 required=4.5 tests=AWL,
BAYES_00
X-Spam-Level:
Status: O
X-UID: 16000
Content-Length: 398
X-Keywords:

Date: Fri, 09 Feb 2007 14:42:51 +0100
From: Stefan Denker [EMAIL PROTECTED]
To: Stefan Denker [EMAIL PROTECTED]
Subject: Und hier eine Mail, die an mich weitergeleitet wird
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Novell-Groupwise-interne Weiterleitung nach Extern

STefan
---snapp---

I do not know what causes this. This message doesn't seem so corrupt to
me.
Any hints?

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19.2gamma
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]