Bug 79569

Summary: When i receive a message from a specific person Kmail is not able to retrieve mail
Product: [Unmaintained] kmail Reporter: Cedric Tardif <sysadmin>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: mironov
Priority: NOR    
Version: 1.6.1   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: kmail-bug.email.txt
email that causes this error for me
same bug different sender

Description Cedric Tardif 2004-04-13 17:35:57 UTC
Version:           1.6.1 (using KDE KDE 3.2.1)
Installed from:    Compiled From Sources
Compiler:          gcc 3.2.2 
OS:          Linux

If i receive a message from a specific person KMAIL give me a error 'Unable  to complete LIST Operation'

If i go manualy delete the message on the pop3 server then kmail can retrieve mail again.

I receive more then 10k email per day with KMail and only message from one specific person create that problem.

This message is from a mailling list, but other who post on this mailling list don't cause this problem.

There a sample of message that make KMAIL to not be able to retrieve mail from my pop account :

From Frederic.EVRARD@formation.jussieu.fr mar avr 13 05:53:18 2004
Return-Path: <freeradius-users-admin@lists.freeradius.org>
Received: from localhost (thalassa.destination.ca [207.253.148.7])
	by champlain.destination.ca (8.12.10/8.12.10) with ESMTP id i3D9rInG007329
	for <sysadmin@destination.ca>; Tue, 13 Apr 2004 05:53:18 -0400
Received: from thalassa.destination.ca ([127.0.0.1])
 by localhost (thalassa.destination.ca [127.0.0.1]) (ANTISPAM-SMTP, port 10024)
 with LMTP id 07295-08 for <sysadmin@destination.ca>;
 Tue, 13 Apr 2004 05:53:17 -0400 (EDT)
Received: from smtp2.cistron.nl (smtp2.cistron.nl [62.216.30.41])
	by thalassa.destination.ca (8.12.10/8.12.10) with ESMTP id i3D9rEBQ007363
	for <sysadmin@destination.ca>; Tue, 13 Apr 2004 05:53:14 -0400
Received: from localhost ([127.0.0.1] helo=lwaxana.cistron.net)
	by smtp2.cistron.nl with esmtp (Exim 3.35 #1 (Debian))
	id 1BDKbM-0000ao-00; Tue, 13 Apr 2004 11:53:08 +0200
Received: from shiva.jussieu.fr ([134.157.0.129])
	by smtp2.cistron.nl with esmtp (Exim 3.35 #1 (Debian))
	id 1BDKaW-0000W4-00
	for <freeradius-users@lists.freeradius.org>; Tue, 13 Apr 2004 11:52:16 +0200
Received: from mailhost.formation.jussieu.fr ([134.157.46.137])
          by shiva.jussieu.fr (8.12.10/jtpda-5.4) with ESMTP id i3D9q007052687
          for <freeradius-users@lists.freeradius.org>; Tue, 13 Apr 2004 11:52:00 +0200 (CEST)
X-Ids: 164
Received: from webmail.formation.jussieu.fr (serveur.formation.jussieu.fr [127.0.0.1])
          by mailhost.formation.jussieu.fr (8.11.6/jtpda-5.3.1-PhW) with SMTP id i3D9q7117745
          for <freeradius-users@lists.freeradius.org>; Tue, 13 Apr 2004 11:52:07 +0200
Received: from 134.157.5.16
        (SquirrelMail authenticated user evrard)
        by webmail.formation.jussieu.fr with HTTP;
        Tue, 13 Apr 2004 11:52:07 +0200 (CEST)
Message-ID: 
     <35012.134.157.5.16.1081849927.squirrel@webmail.formation.jussieu.fr>
In-Reply-To: <s0765f76.062@hermes.cwu.edu>
References: <s0765f76.062@hermes.cwu.edu>
Subject: Re: Dynamic VLAN
From: Frederic.EVRARD@formation.jussieu.fr
To: freeradius-users@lists.freeradius.org
User-Agent: SquirrelMail/1.4.0
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
X-Priority: 3
Importance: Normal
X-FP6-MailScanner-Information: Please contact the ISP for more information
X-FP6-MailScanner: Found to be clean
X-SpamCheck: not spam, spamassassin (score=0, required 5, AWL 0.00,
	IN_REP_TO -0.50, NO_REAL_NAME 0.82, PRIORITY_NO_NAME 0.46,
	QUOTED_EMAIL_TEXT -0.48, REFERENCES -0.50, REPLY_WITH_QUOTES -0.50,
	USER_AGENT 0.00)
X-Miltered: at shiva.jussieu.fr with ID 407BB840.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)!
X-Antivirus: scanned by sophie at shiva.jussieu.fr
Sender: freeradius-users-admin@lists.freeradius.org
Errors-To: freeradius-users-admin@lists.freeradius.org
X-BeenThere: freeradius-users@lists.freeradius.org
X-Mailman-Version: 2.0.11
Precedence: bulk
Reply-To: freeradius-users@lists.freeradius.org
List-Help: <mailto:freeradius-users-request@lists.freeradius.org?subject=help>
List-Post: <mailto:freeradius-users@lists.freeradius.org>
List-Subscribe: <http://lists.freeradius.org/mailman/listinfo/freeradius-users>,
	<mailto:freeradius-users-request@lists.freeradius.org?subject=subscribe>
List-Id: FreeRadius users mailing list <freeradius-users.lists.freeradius.org>
List-Unsubscribe: <http://lists.freeradius.org/mailman/listinfo/freeradius-users>,
	<mailto:freeradius-users-request@lists.freeradius.org?subject=unsubscribe>
List-Archive: <http://lists.freeradius.org/pipermail/freeradius-users/>
Date: Tue, 13 Apr 2004 11:52:07 +0200 (CEST)
X-Virus-Scanned: Par Destination Internet Inc. (http://www.destination.ca)
X-Spam-Status: No, hits=-3.9 tagged_above=-999.0 required=3.0 tests=BAYES_00,
 NO_REAL_NAME, PRIORITY_NO_NAME
X-Spam-Level: 

>
>>>> Frederic.EVRARD@formation.jussieu.fr 4/9/2004 6:48:41 AM >>>
>
>> I use 802.1x/EAP_MD5 with user as xsupplicant, switch cisco 3550,
>> freeradius server. It works very well, but now I need to assign
> dynamic
>> vlan to authenticated user.
>> I 've update my Freeradius "users" file with this parameters asked
> by
>> switch Cisco :
>> Tunnel-Type = VLAN
>> Tunnel-Medium-Type = 802
>> Tunnel-Private6group-ID = VLAN NAME
>
> You need to specify :1 after the attribute names. That one hung me up
> for a while, and I believe I found the solution in the Cisco
> documentation. This works for me:
>
> Tunnel-Type:1  := VLAN,
> Tunnel-Medium-Type:1 := IEEE-802,
> Tunnel-Private-Group-ID:1 := 726
>
> I also believe you need to use a number for the VLAN (726 is an example
> from my site).
>
> -- David Hart
>

Hi all,

Thx David, i've tried your config, but freeradius doesn't accept
"IEEE-802" value attibute for Tunnel-Medium-Type, it needs only "802". And
then I've no error but switchport stay in default VLAN and not in the vlan
configured in freeradius "users" file .
Maybe it's because there is no entry for this attributes in "dictionnary"
or "dictionnary.cisco" files:
Tunnel-Type
Tunnel-Medium-Type
Tunnel-Private-Group-ID .
If someone has an idea ???

FredSince this message is froma mailling list that not the problem


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Comment 1 Don Sanders 2004-04-14 08:39:17 UTC
Could you please send the mail to me sanders@kde.org as an attachment 
(rather than copied in-line)?

Interesting bug report.

Don.

Comment 2 Cedric Tardif 2004-04-14 13:51:40 UTC
Hi,

there is the mail attached.

Regards
Le April 14, 2004 02:39 am, Don Sanders a écrit :
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> http://bugs.kde.org/show_bug.cgi?id=79569
>
>
>
>
> ------- Additional Comments From sanders kde org  2004-04-14 08:39 -------
> Could you please send the mail to me sanders kde org as an attachment
> (rather than copied in-line)?
>
> Interesting bug report.
>
> Don.


Created an attachment (id=5637)
kmail-bug.email.txt
Comment 3 Jason Huebel 2004-06-27 08:50:40 UTC
I have a similar issue, however I wasn't able to recover the specific email that caused the problem.

I have a secondary issue cause by this bug as well.  After I close the error window kmail seems to continue along fine.  However, it appears that this error also causes kmail to segfault when I exit instead of expiring/compacting everything.
Comment 4 Jason Huebel 2004-06-29 17:14:28 UTC
Created attachment 6511 [details]
email that causes this error for me

This email caused the LIST error for me today.	My guess is the Message-ID
header could be the problem.
Comment 5 Till Adam 2004-06-29 22:59:21 UTC
*** Bug 80190 has been marked as a duplicate of this bug. ***
Comment 6 Cedric Tardif 2004-09-20 18:19:26 UTC
I got a message from someone else that cause the same problem

There the message :
___________________________________________
Return-Path: <users-return-16117-sysadmin=destination.ca@spamassassin.apache.org>
Received: from localhost (ns1.destination.ca [207.253.148.2] (may be forged))
	by champlain.destination.ca (8.12.10/8.12.10) with ESMTP id i8KFwgrx017232
	for <sysadmin@destination.ca>; Mon, 20 Sep 2004 11:58:42 -0400
Received: from thalassa.destination.ca ([127.0.0.1])
 by localhost (thalassa.destination.ca [127.0.0.1]) (ANTISPAM-SMTP, port 10024)
 with LMTP id 32672-03 for <sysadmin@destination.ca>;
 Mon, 20 Sep 2004 11:58:39 -0400 (EDT)
Received: from mail.apache.org (hermes.apache.org [209.237.227.199])
	by thalassa.destination.ca (8.12.10/8.12.10) with SMTP id i8KFwZEm032704
	for <sysadmin@destination.ca>; Mon, 20 Sep 2004 11:58:35 -0400
Received: (qmail 56151 invoked by uid 500); 20 Sep 2004 15:57:59 -0000
Mailing-List: contact users-help@spamassassin.apache.org; run by ezmlm
Precedence: bulk
list-help: <mailto:users-help@spamassassin.apache.org>
list-unsubscribe: <mailto:users-unsubscribe@spamassassin.apache.org>
list-post: <mailto:users@spamassassin.apache.org>
List-Id: <users.spamassassin.apache.org>
Delivered-To: mailing list users@spamassassin.apache.org
Received: (qmail 55957 invoked by uid 99); 20 Sep 2004 15:57:58 -0000
X-ASF-Spam-Status: No, hits=0.0 required=10.0
	tests=FORGED_RCVD_HELO
X-Spam-Check-By: apache.org
Received-SPF: unknown (hermes.apache.org: error in processing during lookup of lst_sa@bquest.org)
Received: from [194.90.9.27] (HELO mxout4.netvision.net.il) (194.90.9.27)
  by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 20 Sep 2004 08:57:57 -0700
Received: from bquest-srv.bquest-lan.bquest.org ([217.132.166.27])
 by mxout4.netvision.net.il
 (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep  8 2003))
 with ESMTP id <0I4C003LKKCEU1@mxout4.netvision.net.il> for
 users@spamassassin.apache.org; Mon, 20 Sep 2004 18:57:50 +0300 (IDT)
Date: Mon, 20 Sep 2004 18:57:45 +0300
From: Avi Shatz <lst_sa@bquest.org>
Subject: RE: SPF Fails on SA 3.0rc5 because of lack of HELO ?
To: users@spamassassin.apache.org
Message-id: 
 <B54F74CD4401AA4DAB071943AD0CE7922426@bquest-srv.bquest-lan.bquest.org>
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.3790.181
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-class: urn:content-classes:message
Thread-topic: SPF Fails on SA 3.0rc5 because of lack of HELO ?
Thread-index: AcSfKImuhz/Jx4GJR7mJMGmFq8wzRwAATz+w
x-fsavag4mse-ts: dfeb32c2f67a7339
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
X-Virus-Checked: Checked
X-Virus-Scanned: Par Destination Internet Inc. (http://www.destination.ca)
X-Spam-Status: No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level: 


> And since nothing is special about my own MS SMTPSVC (Win2k3 SMTP
> Server), I believe the behavior of received.pm should be changed to
> allow SA running on those machines to properly detect the EHLO
> string, and thus allow SPF Detection to properly execute.

So what *do* your mail headers look like when your HELO or EHLO argument
is not the FQDN of the connecting host?  Most MTAs will VERY carefully
include these two pieces of information separately:  sendmail for
instance, will show something like:





Well, lets say for instance the HELO string is "Hello_string"
Remote IP is: "11.22.33.44"
My mail server DNS is: "localmta.org"
And the receiving time is: Sat, 18 Sep 2004 19:53:03 +0300

The resulting received line would be:

Received: from Hello_string ([11.22.33.44]) by localmta.org with
Microsoft SMTPSVC(6.0.3790.80); Sat, 18 Sep 2004 19:53:03 +0300

Actually Received.pm already includes support for this MTA with this
line:
# Received: from inet-vrs-05.redmond.corp.microsoft.com ([157.54.6.157])
by # INET-IMC-05.redmond.corp.microsoft.com with Microsoft
SMTPSVC(5.0.2195.6624); 
# Thu, 6 Mar 2003 12:02:35 -0800 
if (/^from (\S+) \(\[(${IP_ADDRESS})\]\) by (\S+) with /) {
$helo = $1; $ip = $2; $by = $3; goto enough; } 


Problem is that its never triggered, because of a previous *incorrect*
hit

Comment 7 Cedric Tardif 2004-09-20 18:21:43 UTC
Created attachment 7596 [details]
same bug different sender
Comment 8 Tom Albers 2004-09-20 19:26:08 UTC
In KMail 1.7 message is shown ok. Which version are you using?
Comment 9 Matt Douhan 2005-05-28 10:52:15 UTC
Are you still seing this issue woith KMail 1.8 or newer?
Comment 10 Cedric Tardif 2005-05-30 13:41:43 UTC
I'M still using kmail 1.6.1.

I will update my OS in a few days and i will be able to test with a recent kmail.
Comment 11 Cedric Tardif 2005-12-12 16:24:02 UTC
I just updated KDE and KMail.

I'm now using KMAIL 1.9 and i still have the same problem with some e-mail.

Do you want the header of the e-mail that are still not working of it ok with the old one you have ?
Comment 12 Thomas McGuire 2007-06-15 15:44:19 UTC

*** This bug has been marked as a duplicate of 127696 ***