Gnus development mailing list
 help / color / mirror / Atom feed
From: Mark Triggs <mst@dishevelled.net>
Subject: Re: Splitting and procmail
Date: Sun, 08 Sep 2002 22:44:54 +1000	[thread overview]
Message-ID: <87r8g43b21.fsf@dishevelled.net> (raw)
In-Reply-To: <wtnheh098mq.fsf@licia.dtek.chalmers.se> (Jonas Steverud's message of "Sun, 08 Sep 2002 10:40:45 +0200")

Jonas Steverud <d4jonas@dtek.chalmers.se> 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
<mst@dishevelled.net>



  parent reply	other threads:[~2002-09-08 12:44 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-08  8:40 Jonas Steverud
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 [this message]
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=87r8g43b21.fsf@dishevelled.net \
    --to=mst@dishevelled.net \
    /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).