From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/716 Path: news.gmane.org!not-for-mail From: Boris DAIX Newsgroups: gmane.emacs.gnus.user Subject: Re: fancy splitting and procmail Date: Wed, 03 Jul 2002 18:58:02 +0200 Organization: CISM (Universite Claude Bernard Lyon I et INSA Lyon) Message-ID: <87sn30wxyd.fsf@Pulsar.resI.insa-lyon.fr> References: <87y9ctxh3l.fsf@Pulsar.resI.insa-lyon.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138667653 8112 80.91.229.2 (31 Jan 2006 00:34:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:34:13 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:28:00 2006 Original-Path: quimby.gnus.org!lackawana.kippona.com!news.stealth.net!news.stealth.net!newsfeed.icl.net!newsfeed.fjserv.net!opentransit.net!fr.clara.net!heighliner.fr.clara.net!lirmm.fr!cines.fr!univ-lyon1.fr!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: i425.resi.insa-lyon.fr Original-X-Trace: demo2.univ-lyon1.fr 1025715262 11851 134.214.164.228 (3 Jul 2002 16:54:22 GMT) Original-X-Complaints-To: abuse@univ-lyon1.fr Original-NNTP-Posting-Date: 3 Jul 2002 16:54:22 GMT User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386-debian-linux-gnu) Cancel-Lock: sha1:EHjndqbIE2z6ASkgLM2BNh/NnJ0= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:856 Original-Lines: 50 X-Gnus-Article-Number: 856 Tue Jan 17 17:28:00 2006 Xref: news.gmane.org gmane.emacs.gnus.user:716 Archived-At: Adrian Kubala writes: > Ooh, ohh, I wanna answer! I just had this explained to me, so I'll see if I > can explain it on to you. Someone else can probably do it better, but maybe > this will be enough for you to go on. Thanks a lot :-) > Boris DAIX wrote: >> (setq mail-sources '((directory :path "~/spool/") >> (file :path "/var/spool/mail/bdaix"))) > > Okay, so this means each file in ~/spool goes to a separate group without > being split, while messages in your /var spool file go through the normal > splitting. I.e. ~/spool/list.debian-foo.spool goes automatically to > nnml+private:list.debian-foo. > >> But now, I'd like to split the whole stuff better, within gnus, I tried >> adding. > > Okay, so you want to stop auto-splitting the procmail spools, and split them > manually instead. To do that, you can try "nnmail-resplit-incoming" (though > maybe this doesn't work in Oort?), or change "directory" to a bunch of "file" > entries, one for each procmail spool. File entries are always split, directory > entries aren't. > > Then, to manually achieve the same effect as auto-splitting, use the header > "X-Gnus-Mail-Source" in your split: What does this mean ? I was ok 'till there... ;-) I'll try it but if someone knows what it means... > (setq mail-sources '((file :path "/var/spool/mail/krid") > (file :path "/home/krid/Mail/IN.list") > (file :path "/home/krid/Mail/IN.spam"))) > > (setq nnmail-split-fancy > '(| > [..] > ("X-Gnus-Mail-Source" "IN.list" "list.misc") > [..] > > (courtesy of Dirk Bernhardt) > > -Adrian Thanks a lot again ! Boris