From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46433 Path: main.gmane.org!not-for-mail From: Jonas Steverud Newsgroups: gmane.emacs.gnus.general Subject: Splitting and procmail Date: Sun, 08 Sep 2002 10:40:45 +0200 Organization: The Deciples of Albericht Nibelungen Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031474505 772 127.0.0.1 (8 Sep 2002 08:41:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 8 Sep 2002 08:41:45 +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 17nxdR-0000CB-00 for ; Sun, 08 Sep 2002 10:41:37 +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 17nxd4-0006K9-00; Sun, 08 Sep 2002 03:41:14 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 08 Sep 2002 03:41:50 -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 DAA05573 for ; Sun, 8 Sep 2002 03:41:39 -0500 (CDT) Original-Received: (qmail 22807 invoked by alias); 8 Sep 2002 08:40:57 -0000 Original-Received: (qmail 22800 invoked from network); 8 Sep 2002 08:40:57 -0000 Original-Received: from osiris.medic.chalmers.se (HELO mail.dtek.chalmers.se) (129.16.30.197) by gnus.org with SMTP; 8 Sep 2002 08:40:57 -0000 Original-Received: from licia.dtek.chalmers.se (licia.dtek.chalmers.se [129.16.30.88]) by mail.dtek.chalmers.se (Postfix) with ESMTP id D84F23B251 for ; Sun, 8 Sep 2002 10:40:45 +0200 (MEST) Original-Received: (from d4jonas@localhost) by licia.dtek.chalmers.se (8.9.3/8.9.3) id KAA12332; Sun, 8 Sep 2002 10:40:45 +0200 (MEST) X-Authentication-Warning: licia.dtek.chalmers.se: d4jonas set sender to d4jonas@dtek.chalmers.se using -f Original-To: ding@gnus.org Mail-Copies-To: never Original-Lines: 48 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (sparc-sun-solaris2.8) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46433 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46433 I have mail-source set to '((directory :path "~/Mail" :suffix "")) and is using procmail to filter my email. A quick test with nnmail-split-methods gave that splitting is not used when the source is directory. I used the following test: :0: * ^Subject: splittest 1 Splittest1 :0: * ^Subject: splittest 2 Splittest2 (setq nnmail-split-methods (list '("Splittest2" "^Subject: splittest 1") '("Splittest1" "^Subject: splittest 2") '("Mainmailbox" "") )) All mail turned up according to the Procmail-rules. 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. Possible or are there a better solution? I have fairly nice spam filtering in my procmail and I don't want to rewrite it as splitting rules (takes too much time). I am also planning to start using Spamassassin (the spam.el seems interesting, I really like the idea with using BBDB as a whitelist since I consider all mails from MSN, Hotmail, Yahoo et al as spam) so I seems to need procmail however I do. Or does someone have a script that converts a procmailrc to a split rule(s)? ;-) -- ( www.dtek.chalmers.se/~d4jonas/ ! Wei Wu Wei ) ( Meaning of U2 Lyrics, Roleplaying ! To Do Without Do )