[Top][All Lists]

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

Re: beginner splitting mail

From: Steven Arntson
Subject: Re: beginner splitting mail
Date: Mon, 30 Jun 2014 20:28:31 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Emanuel Berg <> writes:

> Steven Arntson <> writes:
>> (setq nnmail-split-methods
>>        '(("emacs" "^From:.*emacs")
>>       ("sent.mail" "^From:.*
>>          ("mail.misc" "")))
> Some comments:
> 1. ("emacs" "^From:.*emacs")
> Is it smarter to base that on *subject*? As in mine:
> ("emacs-w3m" "^Subject:.*emacs-w3m.*")
> Also note the .* after the string.
> (But this may be your situation that is different, just
> sayin'.)

I thought "from" would work best--if a news item is from
gmane.emacs.gnus.user, then it would go to the "emacs" group. But
something like this post, with the subject "beginner splitting mail"
would not be caught by an "emacs" "^Subject" designation, unless I'm
misunderstanding how that works? (very likely!)
> 2. How to save you own mails - this works for me:
> (setq gnus-message-archive-group '("nnml:mail.sent") )

I added this to my .gnus.el--thank you. But no results yet. (see below?)

> 3. Why it doesn't work at all - did you specify that
> you use nnml? I have:
> (setq gnus-secondary-select-methods
>       '((nnml ""))
>       mail-user-agent 'gnus-user-agent
>       read-mail-command 'gnus)

I wonder if my troubles lie here. My .gnus.el file is cobbled from
various sources, and I am illiterate regarding its meaning. The
relevant (I think) portion I have is:

;;init stuff
(setq gnus-select-method '(nntp ""))
(add-to-list 'gnus-secondary-select-methods '(nnml ""))
(add-to-list 'gnus-secondary-select-methods
                  '(nnmbox ""
                    (nnmbox-mbox-file "~/MAIL")
                    (nnmbox-active-file "~/")))
(setq mail-sources '((pop :server "" :user

I see it's different from yours ... but it is incorrect?

Thank you for taking the time!

> 4. Check out how I did it here -
> - it might help you. And if you or anyone else sees
> something inadvisable, do tell...
> Good luck!

I have a lot to learn...

reply via email to

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