From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/14276 Path: main.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Re: ">" -vs- "Re:" -- is this guy crazy? Date: 25 Feb 1998 09:41:02 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: <4y3eh8v7en.fsf@mediascience.no> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.105) Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035153495 13991 80.91.224.250 (20 Oct 2002 22:38:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:38:15 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id AAA04301 for ; Wed, 25 Feb 1998 00:44:43 -0800 Original-Received: from sina.hpc.uh.edu (root@Sina.HPC.UH.EDU [129.7.3.5]) by xemacs.org (8.8.5/8.8.5) with ESMTP id CAA03496 for ; Wed, 25 Feb 1998 02:42:33 -0600 (CST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id CAH26773; Wed, 25 Feb 1998 02:42:38 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 25 Feb 1998 02:42:09 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id CAA26759 for ; Wed, 25 Feb 1998 02:41:58 -0600 (CST) Original-Received: (qmail 2475 invoked by uid 504); 25 Feb 1998 08:41:50 -0000 Original-Received: (qmail 2472 invoked from network); 25 Feb 1998 08:41:48 -0000 Original-Received: from norne.oslo.metis.no (195.0.254.238) by claymore.vcinet.com with SMTP; 25 Feb 1998 08:41:48 -0000 Original-Received: by norne.oslo.metis.no (8.8.4/8.8.4) id JAA01328; Wed, 25 Feb 1998 09:41:02 +0100 (MET) Original-To: ding@gnus.org In-Reply-To: chr@mediascience.no's message of "25 Feb 1998 01:45:52 +0100" Original-Lines: 34 X-Mailer: Quassia Gnus v0.29/Emacs 19.34 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:14276 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:14276 >>>>> chr@mediascience.no (Christian Nybø): > SL Baur writes: > [...] >> No. I've never seen it. There is a (broken) Microsoft mailer that >> uses `FW: '. > Friends from school working in corporate environments sometimes answer > mail with 'SV: ' instead of 'Re: '. SV are the first two letters in > the norwegian word 'svar', which means reply. I have seen german > variations as well, I think. I have the followin rule in my ~/.procmailrc to deal with these. What *really* makes this interesting, is that occasionally these beasties will appear in RFC 2047 encoded subject fields. Everything in the hairy perl regexps below, is based on actually received examples that escaped what I thought was a waterproof solution. It was soon too complex for sed, so I had to move on to perl. # # Fix Subject RE/SV/AW line for MSExchange/MSMail/MSOutlook # No X-Mailer field to rely on, unfortunately! # Remove MSE quotes of type "'Real Name'" # :0 fhw | /opt/pub/bin/perl -ne "s/^(Subject:)\s+(SV:\s*|AW:\s*|R[eE](\(\d+\))?:\s*)+/\1 Re: /g;s/^(Subject:)\s+(=\?((iso|ISO)-8859-1|us-ascii)\?Q\?)((SV|AW|R[eE](\(\d+\))?)(:|=3[Aa])_*)+/\1 \2Re:_/g; s/\042\'([^\']*)\'\042/\042\1\042/g ; print" Outlook is so incredibly broken, in so many ways, it simply boggles the mind... (For the record: the first regexp also matches Re(2):, Re(3) etc. which can't be blamed on Outlook)