info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

nnmail-split-methods


From: David Rod
Subject: nnmail-split-methods
Date: Fri, 09 Nov 2007 13:39:51 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (windows-nt)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]