From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63412 Path: news.gmane.org!not-for-mail From: Matthias Andree Newsgroups: gmane.emacs.gnus.general Subject: Re: feature request: work around b0rked Pegasus Mail headers Date: Sun, 25 Jun 2006 11:46:30 +0200 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1151229441 14672 80.91.229.2 (25 Jun 2006 09:57:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 25 Jun 2006 09:57:21 +0000 (UTC) Original-X-From: ding-owner+m11939@lists.math.uh.edu Sun Jun 25 11:57:20 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FuRMl-0002f3-Aw for ding-account@gmane.org; Sun, 25 Jun 2006 11:57:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1FuRMU-00072L-00; Sun, 25 Jun 2006 04:57:02 -0500 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FuRCU-00072G-00 for ding@lists.math.uh.edu; Sun, 25 Jun 2006 04:46:42 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1FuRCQ-0003i7-LK for ding@lists.math.uh.edu; Sun, 25 Jun 2006 04:46:41 -0500 Original-Received: from mail.gmx.de ([213.165.64.21] helo=mail.gmx.net) by quimby.gnus.org with smtp (Exim 3.35 #1 (Debian)) id 1FuRCP-0002yL-00 for ; Sun, 25 Jun 2006 11:46:37 +0200 Original-Received: (qmail invoked by alias); 25 Jun 2006 09:46:36 -0000 Original-Received: from p509116CB.dip0.t-ipconnect.de (EHLO m2a2.dyndns.org) [80.145.22.203] by mail.gmx.net (mp041) with SMTP; 25 Jun 2006 11:46:36 +0200 X-Authenticated: #428038 Original-Received: from localhost (localhost [127.0.0.1]) by merlin.emma.line.org (Postfix) with ESMTP id C05B820059D for ; Sun, 25 Jun 2006 11:46:31 +0200 (CEST) Original-Received: from m2a2.dyndns.org ([127.0.0.1]) by localhost (m2a2.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20091-18 for ; Sun, 25 Jun 2006 11:46:30 +0200 (CEST) Original-Received: by merlin.emma.line.org (Postfix, from userid 500) id 093D0200710; Sun, 25 Jun 2006 11:46:30 +0200 (CEST) Original-To: ding@gnus.org In-Reply-To: (Reiner Steib's message of "Thu, 22 Jun 2006 11:17:51 +0200") X-PGP-Key: http://home.pages.de/~mandree/keys/GPGKEY.asc User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (gnu/linux) X-Virus-Scanned: amavisd-new at emma.line.org X-Y-GMX-Trusted: 0 X-Spam-Score: -2.5 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:63412 Archived-At: Reiner Steib writes: > On Tue, Jun 20 2006, Reiner Steib wrote: > >> I think this could be done similar to `nnmail-fix-eudora-headers': >> >> ,----[ (info "(gnus)Washing Mail") ] >> | `nnmail-fix-eudora-headers' >> | Eudora produces broken `References' headers, but OK >> | `In-Reply-To' headers. This function will get rid of the >> | `References' headers. >> `---- >> >> Would doing the same for Pegasus be sufficient? Could you please >> provide some sample headers (including X-Mailer or User-Agent, >> Reply-To and References) for such articles? >> >> Would someone like to work on `nnmail-fix-pegasus-headers'? > > Done: > > ,----[ lisp/ChangeLog ] > | * nnmail.el (nnmail-broken-references-mailers): New variable. > | (nnmail-ignore-broken-references): New function generalizing > | nnmail-fix-eudora-headers. > | (nnmail-fix-eudora-headers): Now obsolete. > `---- > > ,----[ (info "(gnus)Washing Mail") ] > | `nnmail-ignore-broken-references' > | Some mail user agents (e.g. Eudora and Pegasus) produces > | broken `References' headers, but correct `In-Reply-To' > | headers. This function will get rid of the `References' > | header if the headers contain a line matching the regular > | expression `nnmail-broken-references-mailers'. > `---- > > I don't use nnmail-fix-eudora-headers/nnmail-ignore-broken-references > so please test if it works correctly. Hm - this appears to be limited in effect. If I understand this correctly, it is laundering incoming messages that are being moved via the mailsource to the final location; however, my system presorts messages with maildrop and .forward+... files, thus the "ignoring of broken references" needs to be done when the Group buffer is assembled and not as incoming messages are sorted. BTW, is the regexp (...broken-references-mailers) case sensitive? Pegasus uses "X-mailer: Pegasus ..." with lower-case m (but testing with upper-case M in an existing IMAP folder doesn't help either). -- Matthias Andree