all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: lee <lee@yun.yagibdah.de>
To: help-gnu-emacs@gnu.org
Cc: kensubuntu@gmail.com
Subject: Re: gnus & nnmaildir
Date: Thu, 21 Aug 2014 00:04:52 +0200	[thread overview]
Message-ID: <874mx6es1n.fsf@yun.yagibdah.de> (raw)
In-Reply-To: <20140731185408.GA29871@ken-HP-Mini-110-1000> (Ken's message of "Thu, 31 Jul 2014 14:54:08 -0400")

Ken <kensubuntu@gmail.com> writes:

> Well, below is my .gnus configuration. It still isn't working unless
> there is something I need to so to "subscribe" to my mail?????
>
> (message "[...setting up gnus]...")
>
> (setq gnus-select-method '(nntp "news.gmane.org"))
>
> (setq smtp-mail-server "kensubuntu@gmail.com")
> (setq user-mail-address "kensubuntu@gmail.com")
> (setq message-send-mail-real-function 'smtpmail-send-it)
>
> (setq
>  gnus-secondary-select-methods '((nnmaildir "mymailbox"  (directory "~/Maildir/")))
> )
>
> (setq gnus-message-archive-group "nnmaildir+mymailbox:outbox")

You may need/want to define mail sources.


(setq mail-sources ...)


Sorting ("splitting" as gnus calls it) incoming mail with procmail or
other MDAs or an exim-filter is somewhat contradictory to how gnus
works.  Gnus knows, if defined, mail sources and fetches incoming mail
from there (regardless of what kind the source is), while, if set up,
splitting ("sorting") such mail into groups ("folders") so that procmail
etc. are no longer needed.

My recommendation is to use gnus' native nnml format rather than maildir
and set up some (fancy) mail splitting.  Example for nnml:


(setq
 gnus-select-method '(nnml "yun" (nnml-use-compressed-files ".bz2")
			   (nnml-compressed-files-size-threshold 65535)))


You could specify all your groups as mail sources (not recommended) or
just define a temporary maildir as one of the mail sources and use mutt
to push (copies of) the mails from the old maildir folder into the
temporary one after setting up appropriate splitting for gnus.  Push
only one mail at first, check your splitting rules, adjust as needed,
then just push the rest of them and gnus will do the work for you ---
repeat for all your maildir folders.

You can, of course, stick to maildir and use it with gnus, which saves
you the conversion.  I converted and am not looking back to mutt; gnus
is just too good :)

Keep good backups when starting with gnus.  You may need to try out
stuff and want to be able to roll back.  Doing a conversion greatly
helps with it because you can keep your existing mail storage intact.


-- 
GNU Emacs 24.4.50.2 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2014-08-17 on yun.yagibdah.de



  parent reply	other threads:[~2014-08-20 22:04 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-31 18:54 gnus & nnmaildir Ken
2014-07-31 19:18 ` Glyn Millington
2014-07-31 19:52 ` Álvar Ibeas
2014-07-31 20:59   ` Ken
2014-08-01  9:36     ` Álvar Ibeas
2014-08-20 22:04 ` lee [this message]
     [not found] ` <mailman.7294.1408572317.1147.help-gnu-emacs@gnu.org>
2014-08-20 22:41   ` Emanuel Berg
     [not found]   ` <87k362dbrw.fsf@debian.uxu>
2014-08-23 12:23     ` lee
     [not found]     ` <mailman.7426.1408798394.1147.help-gnu-emacs@gnu.org>
2014-08-23 20:59       ` Emanuel Berg
2014-08-23 22:10         ` Emanuel Berg
2014-08-24 17:02           ` Joe Fineman
  -- strict thread matches above, loose matches on Subject: below --
2014-08-01 14:41 GNUS && nnmaildir Ken
2014-07-31  8:51 GNUS & nnmaildir Álvar Ibeas
2014-07-31 14:04 ` Ken
2014-07-31 14:32   ` Álvar Ibeas
2014-07-31 17:28     ` Ken
     [not found] <mailman.6312.1406761846.1147.help-gnu-emacs@gnu.org>
2014-07-30 23:34 ` Emanuel Berg
2014-07-30 19:50 Ken
2014-07-31  8:40 ` Glyn Millington
2014-07-31 13:20   ` Ken
2014-07-31  9:17 ` Gour
2014-07-31 13:12   ` Ken

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=874mx6es1n.fsf@yun.yagibdah.de \
    --to=lee@yun.yagibdah.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=kensubuntu@gmail.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.