Gnus development mailing list
 help / color / mirror / Atom feed
From: Jonas Steverud <d4jonas@dtek.chalmers.se>
Subject: Splitting and procmail
Date: Sun, 08 Sep 2002 10:40:45 +0200	[thread overview]
Message-ID: <wtnheh098mq.fsf@licia.dtek.chalmers.se> (raw)


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  )



             reply	other threads:[~2002-09-08  8:40 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-08  8:40 Jonas Steverud [this message]
2002-09-08 12:33 ` Reiner Steib
2002-09-09  0:14   ` Harry Putnam
2002-09-09  9:30     ` Kai Großjohann
2002-09-09 12:39     ` Reiner Steib
2002-09-09 13:06       ` Kai Großjohann
2002-09-09 13:54         ` Reiner Steib
2002-09-09 14:09           ` Kai Großjohann
2002-09-09 16:39         ` Harry Putnam
2002-09-08 12:44 ` Mark Triggs
2002-09-08 14:31   ` Jonas Steverud
2002-09-09  0:31   ` Harry Putnam
2002-09-09  4:32     ` Mark Triggs
2002-09-09  3:40 ` Scott A Crosby
2002-09-09  9:32   ` Kai Großjohann
2002-09-10 11:25   ` Jonas Steverud
2002-09-11 13:29     ` Jonas Steverud
2002-09-13 17:51       ` Jonas Steverud

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wtnheh098mq.fsf@licia.dtek.chalmers.se \
    --to=d4jonas@dtek.chalmers.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).