From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59321 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus and sieve Date: Wed, 01 Dec 2004 23:08:43 +0100 Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1101939139 20776 80.91.229.6 (1 Dec 2004 22:12:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Dec 2004 22:12:19 +0000 (UTC) Original-X-From: ding-owner+M7861@lists.math.uh.edu Wed Dec 01 23:12:13 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CZcho-0001w2-00 for ; Wed, 01 Dec 2004 23:12:12 +0100 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 1CZcgx-0006Iv-00; Wed, 01 Dec 2004 16:11:19 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CZcgp-0006Ip-00 for ding@lists.math.uh.edu; Wed, 01 Dec 2004 16:11:11 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CZcgj-0006U6-IQ for ding@lists.math.uh.edu; Wed, 01 Dec 2004 16:11:06 -0600 Original-Received: from main.gmane.org (main.gmane.org [80.91.229.2]) by justine.libertine.org (Postfix) with ESMTP id 2243F3A0247 for ; Wed, 1 Dec 2004 16:11:00 -0600 (CST) Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CZcge-0007ck-00 for ; Wed, 01 Dec 2004 23:11:00 +0100 Original-Received: from c494102a.s-bi.bostream.se ([217.215.27.65]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Dec 2004 23:11:00 +0100 Original-Received: from jas by c494102a.s-bi.bostream.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Dec 2004 23:11:00 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 32 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c494102a.s-bi.bostream.se OpenPGP: id=0xB565716F; url=http://josefsson.org/key.txt X-Hashcash: 1:23:041201:gmane.emacs.gnus.general::dFML8jM63C2tM5xU:00000000000000000000000000000000000005p8s User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:qiEbvCj/KZLP4hWgIQsoEMQeOiE= Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: main.gmane.org gmane.emacs.gnus.general:59321 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59321 "Jochen K=FCpper I had posted this on gnu.emacs.gnus before but did not get any > response. If the question is unclear, please let me know what > additional information might be useful. > > > So far I wrote my sieve script by hand, but now I am trying to put my > sieve-rules into group parameters. For groups where I have a single > sender put in it works nicely: > ,---- > | (sieve address "sender" "someone.somewhere.org") > `---- > > However, I could not figure out how to generate rules like the > following: > ,---- > | if address :contains "from" ["name@one.com", "else-UDnQCpdwoQ8@public.g= mane.org"] { > | fileinto "groupname"; > | } > `---- > I've tried to put a list, a long string, multiple sieve parameters and > other such constructs into gnus-parameters. > > How does one achieve such behavior? Try: (sieve address :contains "from" ("name@one.com" "else-UDnQCpdwoQ8@public.gm= ane.org")) If you have suggestions (patches) for how to improve the manual, that would be appreciated.