* nnmail-split-methods
@ 2007-11-09 13:39 David Rod
2007-11-09 21:04 ` nnmail-split-methods David Rod
0 siblings, 1 reply; 3+ messages in thread
From: David Rod @ 2007-11-09 13:39 UTC (permalink / raw)
To: info-gnus-english
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" "")))
--
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: nnmail-split-methods
2007-11-09 13:39 nnmail-split-methods David Rod
@ 2007-11-09 21:04 ` David Rod
0 siblings, 0 replies; 3+ messages in thread
From: David Rod @ 2007-11-09 21:04 UTC (permalink / raw)
To: info-gnus-english
apologies
this does appear to work
--
^ permalink raw reply [flat|nested] 3+ messages in thread
* nnmail-split-methods
@ 2010-04-03 15:14 Henri-Paul Indiogine
0 siblings, 0 replies; 3+ messages in thread
From: Henri-Paul Indiogine @ 2010-04-03 15:14 UTC (permalink / raw)
To: info-gnus-english
Hi!
I am a relatively new gnus user and I am still tinkering with my .emacs
(I do not use .gnus).
I am splitting my mail using nnmail-split-methods and would like to ask the
following:
I have something like:
'(("XYZ" "^From:.*this\\|^From:.*that\\|^From:.*another\\| ....."
for clarity I would like to align vertically all my ^From's, but if I do
this then the code does not work. This is probably a syntax issue that
escapes me.
Thanks,
--
Henri-Paul Indiogine
Email: hindiogine@gmail.com
Skype: hindiogine
Website: http://www.coe.tamu.edu/~enrico
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-04-03 15:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-09 13:39 nnmail-split-methods David Rod
2007-11-09 21:04 ` nnmail-split-methods David Rod
2010-04-03 15:14 nnmail-split-methods Henri-Paul Indiogine
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).