all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Cor Gest <cor@clsnet.nl>
Subject: Re: splitting mail in Gnus
Date: 02 Oct 2003 12:37:54 +0000	[thread overview]
Message-ID: <87ad8jolwd.fsf@cleopatra.clsnet.nl> (raw)
In-Reply-To: mailman.1004.1065094512.21628.help-gnu-emacs@gnu.org


GOD fixed his bugs by throwing the misbehaving out of his Garden. 
So who the hell do you think you are in leaving bugs in your system.  
Proverbs: cor-1984:666 

Begin  of a quotation from a message written by mere mortal:
        Roger Mason <rmason@esd.mun.ca>:

> Hello,
> 
> Firstly, thanks for the replies to my previous posting on Gnus.  That
> problem is now resolved.
> 
> Reading the info pages I find it is possible to split mail into
> different groups.  Accordingly, I have these lines in my .gnus file.
> 
> (setq gnus-secondary-select-methods '((nnml "")))
> (setq nnmail-split-methods ....)
> 
> The first by default puts mail in nnml:mail.misc and the second into
> groups, each associated with a regexp that is used to filter the incoming
> messages.
> 
> It is not clear to me which of these lines takes precedence: after
> all there is no point in setting up a filter if the messages will all
> end up in nnml:mail.misc and never see the filter.
> 
> I tried commenting out (setq gnus-secondary-select-methods '((nnml
> ""))), but then all my mail groups appeared in the Group buffer with
> asterisks in place of the number of messages and none of them could be
> accessed.

(setq gnus-secondary-select-method '(nnml))

just tells gnus to use nnml
as an secindary method.

The mail splitting part comes next

(setq nnmail-split-incoming t)
;;then the split part wher you can use reg_expr.

(setq nnmail-split-methods

	'("mail.somegroupname"  "^From:.nice-maillist@some-server.com")

	 ("mail.misc" "")) 
 

The `mail.misc' group is the mail-bucket where everything non-matching
by any splitting rule goes.
Be aware that sorting is sequential, so the first match goes. 


cor


-- 
	      SAFE THE INTERNET..................REMOVE WINDOWS
	      http://www.ccianet.org/papers/cyberinsecurity.pdf
  (setq  reply-to (concatenate 'string "Cor Gest "" <cor"'(#\@)"clsnet.nl>"))

       reply	other threads:[~2003-10-02 12:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1004.1065094512.21628.help-gnu-emacs@gnu.org>
2003-10-02 12:37 ` Cor Gest [this message]
2003-10-02 11:34 splitting mail in Gnus Roger Mason

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=87ad8jolwd.fsf@cleopatra.clsnet.nl \
    --to=cor@clsnet.nl \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.