From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76193 Path: news.gmane.org!not-for-mail From: Francis Moreau Newsgroups: gmane.emacs.gnus.general Subject: Re: Imap split, does not work (of course) Date: Tue, 01 Feb 2011 08:34:23 +0100 Message-ID: References: <87r5bsleui.fsf@gnus.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1296545730 27244 80.91.229.12 (1 Feb 2011 07:35:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 1 Feb 2011 07:35:30 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M24545@lists.math.uh.edu Tue Feb 01 08:35:23 2011 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.69) (envelope-from ) id 1PkAlj-0003hg-Io for ding-account@gmane.org; Tue, 01 Feb 2011 08:35:19 +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 1PkAlG-00050S-Tv; Tue, 01 Feb 2011 01:34:50 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PkAlF-00050F-No for ding@lists.math.uh.edu; Tue, 01 Feb 2011 01:34:49 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PkAl1-0004lb-F6 for ding@lists.math.uh.edu; Tue, 01 Feb 2011 01:34:49 -0600 Original-Received: from mail-wy0-f172.google.com ([74.125.82.172]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PkAl0-0007Dt-GF for ding@gnus.org; Tue, 01 Feb 2011 08:34:34 +0100 Original-Received: by wyf23 with SMTP id 23so6499767wyf.17 for ; Mon, 31 Jan 2011 23:34:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:references:mail-followup-to :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=OezveHDF3UrQvs4OUqFAGL6VmNti0WaukdJCVFyiMQw=; b=Sc0JA9AzcBWgY5X7DMV1Oi+smn9H6IMk44vNh/m/HdrVejV54l9wD1wFuNWhUMqWme 5XddP+xZkkMnvf4Tgm6cTqQ6hM8nN5OMi+k93EqhBhPtudjq0rk2cF2DWRa/DenyLpJT NS5b1K/Pc6jfXU7hoRJn1a4eP4AKGlNT0SneQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:references:mail-followup-to:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=Hqs0TsMrhVyyEOqiqpqFqkF273WmF301y7u3QYG9VNiY+WLPN6CwNpzw2bNrW7QjZ+ 9P8D5sYVKKHPmSgxISaRM8GFNB0OLvEdU4lXgPO21jbXhYTEcO9/gfPvo9FNwg0uK9VB hzFzd+meMUzYT0mS2mcLXSyX4lE0n1bNKk1+Q= Original-Received: by 10.227.157.148 with SMTP id b20mr7422753wbx.141.1296545668339; Mon, 31 Jan 2011 23:34:28 -0800 (PST) Original-Received: from localhost (au213-1-82-235-205-153.fbx.proxad.net [82.235.205.153]) by mx.google.com with ESMTPS id w25sm4777154wbd.5.2011.01.31.23.34.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 31 Jan 2011 23:34:26 -0800 (PST) Mail-Followup-To: ding@gnus.org In-Reply-To: <87r5bsleui.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 31 Jan 2011 17:32:05 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Spam-Score: -1.1 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76193 Archived-At: Lars Ingebrigtsen writes: > Francis Moreau writes: > >> (setq gnus-secondary-select-methods >> '((nnimap "gmail" >> (nnimap-inbox "nnimap+gmail:INBOX") >> (nnimap-address "imap.gmail.com") >> (nnimap-server-port 993) >> (nnimap-stream ssl) >> (nnimap-authinfo-file "~/.authinfo") >> (nnir-search-engine imap) >> (nnimap-split-methods >> (("INBOX.toto" "")))))) > > Let's indent and edit out all the obviously superfluous and unused slots > first: > > (setq gnus-secondary-select-methods > '((nnimap "gmail" > (nnimap-inbox "nnimap+gmail:INBOX") > (nnimap-address "imap.gmail.com") > (nnimap-split-methods > (("INBOX.toto" "")))))) > > Ok, that should be sufficient. > > Then let's fix it up: > > (setq gnus-secondary-select-methods > '((nnimap "gmail" > (nnimap-inbox "INBOX") > (nnimap-address "imap.gmail.com") > (nnimap-split-methods > (("INBOX.toto" "")))))) Unfortunately that doesn't work, I already tried this yesterday during my 'battle' and I did retest this today with no success. BTW before retesting, I restored my previous value of nnimap-split-methods: (nnimap-split-methods (("INBOX.toto" "^From:.*francis.moro@gmail.com"))) so I want Gnus to move all mails from me to go to the 'toto' folder. > > But now I have to ask you: What did you mean to express by saying: > > (nnimap-split-methods > (("INBOX.toto" ""))) > > I'm really curious. Well, since I had and still have no idea why Gnus refuses to split my emails, I tried to simplify my configuration. Hence I tried to match all received emails just to be sure that the issue wasn't coming from the regexp. Thanks -- Francis