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

[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 <embe8573@student.uu.se> writes:

> Steven Arntson <steven@stevenarntson.com> writes:
>
>> (setq nnmail-split-methods
>>        '(("emacs" "^From:.*emacs")
>>       ("sent.mail" "^From:.*stevenarntson.com)
>>          ("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 "news.gwene.org"))
(add-to-list 'gnus-secondary-select-methods '(nnml ""))
(add-to-list 'gnus-secondary-select-methods
                  '(nnmbox ""
                    (nnmbox-mbox-file "~/MAIL")
                    (nnmbox-active-file "~/Mail.active")))
(setq mail-sources '((pop :server "my.server.com" :user
"me@mywebsite.com")))

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

Thank you for taking the time!
Best,
steven


>
> 4. Check out how I did it here -
> http://user.it.uu.se/~embe8573/conf/emacs-init/gnus.el
> - 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]