From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66091 Path: news.gmane.org!not-for-mail From: Vadim Gutnik Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap, MIME, and split-fancy Date: Tue, 08 Jan 2008 15:43:02 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199840165 30984 80.91.229.12 (9 Jan 2008 00:56:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Jan 2008 00:56:05 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M14584@lists.math.uh.edu Wed Jan 09 01:56:27 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1JCPF4-0006ar-ND for ding-account@gmane.org; Wed, 09 Jan 2008 01:56:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1JCPE3-0001Su-Cn; Tue, 08 Jan 2008 18:55:23 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1JCLHu-0000BE-Sg for ding@lists.math.uh.edu; Tue, 08 Jan 2008 14:43:06 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1JCLHs-0006Df-3o for ding@lists.math.uh.edu; Tue, 08 Jan 2008 14:43:06 -0600 Original-Received: from vinegar-pot.mit.edu ([18.181.0.51]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1JCLHs-0004jm-00 for ; Tue, 08 Jan 2008 21:43:04 +0100 Original-Received: (from gutnik@localhost) by vinegar-pot.MIT.EDU (8.12.9.20060308) id m08Kh2kl007142; Tue, 8 Jan 2008 15:43:02 -0500 In-Reply-To: (Reiner Steib's message of "Sat\, 05 Jan 2008 22\:42\:15 +0100") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66091 Archived-At: Reiner Steib writes: > On Thu, Nov 15 2007, Vadim Gutnik wrote: > >> I'm using No Gnus 0.6, and nnimap. >> >> I get some mail with Subject lines that look like this: >> >> Subject:=?iso-8859-1?B?UXVhcmFudGluZSBTdW1tYXJ5IDExLzE1LzIwMDcgMTI6MDAgcG0=?= >> >> gnus graciously decodes that, to look like this: >> >> Subject: Quarantine Summary 11/15/2007 12:00 pm >> >> But I can't split on the decoded subject line with nnimap. >> The relevant part of my .gnus is: >> >> (setq nnmail-mail-splitting-decodes 't) >> (setq nnmail-split-methods 'nnmail-split-fancy) >> (setq nnimap-split-rule 'nnmail-split-fancy) >> (setq nnimap-split-inbox '("INBOX")) >> (setq nnmail-split-fancy >> '(| (from mail "INBOX/mailbounce") >> ("subject" "Quarantine" "INBOX/trash") >> "INBOX/unsorted" >> ) >> ) >> >> With this setup, "B q" tells me the mail would get sorted to >> INBOX/trash, presumably because nnmail is interepreting the split rule, >> and with (setq nnmail-mail-splitting-decodes 't), it parses the >> MIME. But the automatic respooling, or respoolig if I explicitly try >> "B r nnimap" sends it to INBOX/unsorted. >> >> Am I making some configuration mistake, or is this a bug? > > Does adding`gnus-article-decode-encoded-words' to `nnmail-split-hook' > work fro IMAP splitting? If not, maybe it could be added? I added the line (add-hook 'nnmail-split-hook 'gnus-article-decode-encoded-words) I don't see the behavior change; it still doesn't work correctly. Vadim