From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/51101 Path: main.gmane.org!not-for-mail From: Thomas Neumann Newsgroups: gmane.emacs.gnus.general Subject: Questions on nnmaildir Date: Mon, 31 Mar 2003 00:16:59 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: <8765q0v6sk.fsf@papa-san.t-net.theredguy.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1049062690 32493 80.91.224.249 (30 Mar 2003 22:18:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 30 Mar 2003 22:18:10 +0000 (UTC) Original-X-From: owner-ding@hpc.uh.edu Mon Mar 31 00:18:09 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18zl7w-0008Rw-00 for ; Mon, 31 Mar 2003 00:18:09 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18zl7k-0003QY-00; Sun, 30 Mar 2003 16:17:56 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 30 Mar 2003 16:18:59 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id QAA10471 for ; Sun, 30 Mar 2003 16:18:46 -0600 (CST) Original-Received: (qmail 88309 invoked by alias); 30 Mar 2003 22:17:39 -0000 Original-Received: (qmail 88303 invoked from network); 30 Mar 2003 22:17:39 -0000 Original-Received: from mail.gmx.net (213.165.64.20) by 66.230.238.6 with SMTP; 30 Mar 2003 22:17:39 -0000 Original-Received: (qmail 15478 invoked by uid 65534); 30 Mar 2003 22:17:06 -0000 Original-Received: from pD9522F65.dip.t-dialin.net (EHLO datenschleuder.t-net.theredguy.de) (217.82.47.101) by mail.gmx.net (mp021-rz3) with SMTP; 31 Mar 2003 00:17:06 +0200 Original-Received: from papa-san.t-net.theredguy.de ([192.168.42.54]) by datenschleuder.t-net.theredguy.de with esmtp (Exim 3.36 #1 (Debian)) id 18zl6G-0001Xj-00 for ; Sun, 30 Mar 2003 22:16:24 +0000 Original-Received: from thomas by papa-san.t-net.theredguy.de with local (Exim 3.36 #1 (Debian)) id 18zl6q-0000dL-00 for ; Mon, 31 Mar 2003 00:17:00 +0200 Original-To: ding X-Shakespeare: "The dread of something after death, The undiscovered country, from whose bourn No traveller returns." -- Hamlet, III.1 User-Agent: Gnus/5.090014 (Oort Gnus v0.14) XEmacs/21.4 (Common Lisp, i386-debian-linux) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:51101 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:51101 hiya little introduction: So far I used Gnus with nnimap-Backend to access a courier-imap server on a different or the same box. [Reading mail from 2 hosts]. Today I came around fiddling with nnmaildir. I was attempting to remove the courier-part when reading mail locally. First surprise: Although courier and nnmaildir use Maildirs, they're not quite compatible with each other. But that's not the reason, why I write this mail. It seems that nnmaildir is quite an inode-hogger. Let's suppose there is a maildir with 500 mails, 15 are ticked, 480 are read, none 'new' or 'temporary'. This results in: [..]/cur -> 500 files [..]/new -> no files [..]/tmp -> no files [..]/.nnmaildir/marks/read -> 480 files [..]/.nnmaildir/marks/ticked -> 15 files [..]/.nnmaildir/nov -> 500 files [..]/.nnmaildir/num -> 500 files Files in read, ticked and num are all 0 byte in size.=20 Each nov files has a single line. [Some of my maildirs contain mailinglists with up to 11K messages *shudder*] Wouldn't it make more sense to handle the marks in a fashion close to courier? [appending them to the filename] and generate a single overview-file containg all novs? Well I'm not convinced that I could hack nnmaildir to my liking. So either someone else is so kind and takes a stab at it, or I better forget having heard of nnmaildir. I'm using this setup for nnmaildir: ------------------------------------------------------------------------ (setq ;; Read mail with nnimap ;; The same for the other methods, kind of. gnus-secondary-select-methods=20 '([...] (nnmaildir "thomas" (directory "~/Maildirs") (create-directory "../nnmaildir") (directory-files nnheader-directory-files-safe) (get-new-mail t) ) [...] ) ------------------------------------------------------------------------ '[...]' are omittet parts tsch=FC=DF thomas