From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69283 Path: news.gmane.org!not-for-mail From: Daniel Pittman Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-sieve: make it easier to customize. Date: Sun, 13 Dec 2009 21:24:38 +1100 Message-ID: <87pr6j2mu1.fsf@rimspace.net> References: <87ljhkrxia.fsf@rimspace.net> <87ocmgexxy.fsf@lifelogs.com> <87ocmf1pfm.fsf@rimspace.net> <87bpiaaicn.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1260700615 12840 80.91.229.12 (13 Dec 2009 10:36:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Dec 2009 10:36:55 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M17688@lists.math.uh.edu Sun Dec 13 11:36:48 2009 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 1NJlol-00042R-5F for ding-account@gmane.org; Sun, 13 Dec 2009 11:36:47 +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 1NJlnK-0006nL-OT; Sun, 13 Dec 2009 04:35:18 -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 1NJlnH-0006n1-Sa for ding@lists.math.uh.edu; Sun, 13 Dec 2009 04:35:15 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1NJlnF-0004Je-Cb for ding@lists.math.uh.edu; Sun, 13 Dec 2009 04:35:15 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1NJlnE-0004av-00 for ; Sun, 13 Dec 2009 11:35:12 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1NJlnE-0003YP-4T for ding@gnus.org; Sun, 13 Dec 2009 11:35:12 +0100 Original-Received: from ppp59-167-189-244.static.internode.on.net ([59.167.189.244]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Dec 2009 11:35:12 +0100 Original-Received: from daniel by ppp59-167-189-244.static.internode.on.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Dec 2009 11:35:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 49 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ppp59-167-189-244.static.internode.on.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:otER9XNC+h4WTZV5cTcxYLQkl14= X-Spam-Score: -2.8 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69283 Archived-At: Ted Zlatanov writes: > On Fri, 04 Dec 2009 12:46:37 +1100 Daniel Pittman wrote: > DP> Ted Zlatanov writes: >>> On Fri, 04 Dec 2009 00:35:25 +1100 Daniel Pittman wrote: >>> > DP> I have papers for Gnus, and Emacs, on file, although I don't consider the > DP> content original enough to warrant them: while it moves a whole bunch of > DP> lines, it just moves them. Anyway, whatever. I hope y'all accept it. :) >>> >>> I think your version is much easier to read and understand. I don't use >>> Sieve so I can't test it but otherwise I'm in favor of comitting your >>> patch. > > DP> Well, the generated output is (trivially) identical to the original; it puts > DP> us in no worse a state than the previous code, but more fine-grained. > > DP> Oh, and it actually generates a local file only; if you wish, you can test it > DP> through generating the content and observing the output. :) > > I've been curious about Sieve but there's no info on using it with Gnus. The Gnus manual, and the Gnus-Sieve manual, both in info format, don't do it for you? In fairness, I guess, they are "technical reference" guides to the integration features, not anything user-focused about the Sieve language itself. The short version is, though, that you edit group properties to add a "sieve" property resembling the expression to file messages into that group: INBOX/personal => ((sieve address ["to" "cc"] "daniel@rimspace.net")) > Also I found Cyrus IMAP painful when I set it up and at the time it was the > only decent Sieve implementation. > > Does anyone use it with dovecot (http://wiki.dovecot.org/LDA/Sieve)? No, but friends of mine support large numbers (> 10K) users in education using it, and find it effective and worthwhile. I use it with Zimbra, more or less. > Do we have ManageSieve support in Gnus, and if not, can it be added? Mostly outside it, but the facilities are there. Read the Sieve manual shipped with Emacs for details. :) Daniel -- ✣ Daniel Pittman ✉ daniel@rimspace.net ☎ +61 401 155 707 ♽ made with 100 percent post-consumer electrons