Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: David Rod <angel_ov_north@tiscali.co.uk>
To: info-gnus-english@gnu.org
Subject: nnmail-split-methods
Date: Fri, 09 Nov 2007 13:39:51 +0000	[thread overview]
Message-ID: <uode34jx4.fsf@tiscali.co.uk> (raw)

Hi
I want gnus to split mail into a mailbox called mail.ruby from any mail
which has the string as ruby by the field as "From:"

The mailbox does not appear into the buffer as groups.

why is this?


  (setq user-mail-address "angel_ov_north@tiscali.co.uk")
     (setq user-full-name "David Rod")

(setq gnus-select-method '(nntp "news.gnus.org"))   

(setq gnus-secondary-select-methods '((nnml ""))
       mail-sources '((pop :server "pop.tiscali.co.uk"
                           :user "angel_ov_north@tiscali.co.uk"
			   :password "nottellingu")))

(add-to-list 'gnus-secondary-select-methods '(nntp "news.gmane.org"))
(add-to-list 'gnus-secondary-select-methods '(nntp "news.newnet.co.uk"))

(setq send-mail-function 'smtpmail-send-it)
     (setq message-send-mail-function 'smtpmail-send-it)
     (setq smtpmail-default-smtp-server "smtp.tiscali.co.uk")


(add-hook 'gnus-group-mode-hook 'gnus-topic-mode)

     (defun my-message-mode-setup ()
       (setq fill-column 72)
       (turn-on-auto-fill)
       )
     (add-hook 'message-mode-hook 'my-message-mode-setup)

(setq gnus-message-archive-group 
      '((concat "sent-" (format-time-string "%Y-%B" (current-time)))))

     (setq nnmail-split-methods
       '(("mail.ruby" "^From:.*ruby")
         ("mail.latex" "^From:.*text")
         ("mail.other" "")))




     

-- 

             reply	other threads:[~2007-11-09 13:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-09 13:39 David Rod [this message]
2007-11-09 21:04 ` nnmail-split-methods David Rod
2010-04-03 15:14 nnmail-split-methods Henri-Paul Indiogine

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=uode34jx4.fsf@tiscali.co.uk \
    --to=angel_ov_north@tiscali.co.uk \
    --cc=info-gnus-english@gnu.org \
    /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).