From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46434 Path: main.gmane.org!not-for-mail From: Mark Triggs Newsgroups: gmane.emacs.gnus.general Subject: Re: Splitting and procmail Date: Sun, 08 Sep 2002 22:44:54 +1000 Sender: owner-ding@hpc.uh.edu Message-ID: <87r8g43b21.fsf@dishevelled.net> References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031489220 27527 127.0.0.1 (8 Sep 2002 12:47:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 8 Sep 2002 12:47:00 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17o1Ss-00079q-00 for ; Sun, 08 Sep 2002 14:46:58 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17o1Ra-0008QY-00; Sun, 08 Sep 2002 07:45:38 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 08 Sep 2002 07:46:14 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id HAA05830 for ; Sun, 8 Sep 2002 07:46:02 -0500 (CDT) Original-Received: (qmail 23164 invoked by alias); 8 Sep 2002 12:45:16 -0000 Original-Received: (qmail 23159 invoked from network); 8 Sep 2002 12:45:15 -0000 Original-Received: from dial-ctb01186.webone.com.au (HELO mail.telefunken.dyn.ml.org) (postfix@210.9.241.186) by gnus.org with SMTP; 8 Sep 2002 12:45:15 -0000 Original-Received: from dishevelled.net (thweeble.telefunken.dyn.ml.org [192.168.1.2]) by mail.telefunken.dyn.ml.org (Postfix) with SMTP id E49E08069 for ; Sun, 8 Sep 2002 22:44:28 +1000 (EST) Original-Received: by dishevelled.net (sSMTP sendmail emulation); Sun, 8 Sep 2002 22:44:54 +1000 Original-To: ding@gnus.org User-Agent: Oort Gnus v0.08 In-Reply-To: (Jonas Steverud's message of "Sun, 08 Sep 2002 10:40:45 +0200") Original-Lines: 41 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46434 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46434 Jonas Steverud writes: > I have mail-source set to '((directory :path "~/Mail" :suffix "")) and > is using procmail to filter my email. [...] > So, my question is now: Mail splitting cannot be used togeather with > procmail, right? > > My idea was to use mail splitting (maybe the fancy one too) and have > procmail do the spam filtering. I.e all mail except for spam are > placed in Mainmailbox and all spam are placed in Spam. Mainmailbox > should be splitted but the Spam box should not. It should be possible. I *think* that if you use the 'directory' mail-source directive to grab your mail, it isn't run through the splitting process, as each file in that directory is assumed to correspond to a gnus group. So, if you want stuff to be split, you'll need to use the 'file' directive instead. In your case, you could probably just specify your mail-sources as '((file :path "~/Mail/Mainmailbox" :suffix "")). In my config, I have something like: (setq mail-sources '((directory :path "~/docs/mail/incoming" :suffix ".spool") ;; Check this one separately for splitting purposes. (file :path "~/docs/mail/incoming/personal.spool"))) In this case, personal.spool is split via my splitting rules, and the rest of the files in that directory are just put directly into their corresponding groups. Hope this helps a bit, anyway. Mark -- Mark Triggs