Gnus development mailing list
 help / color / mirror / Atom feed
From: Carsten Leonhardt <leo@arioch.oche.de>
Cc: dave-mlist@bfnet.com
Subject: Re: best setup for qmail and gnus
Date: 01 Dec 1999 03:48:39 +0100	[thread overview]
Message-ID: <877liz74vs.fsf@elric.arioch.oche.de> (raw)
In-Reply-To: dave-mlist@bfnet.com's message of "30 Nov 1999 19:08:02 -0500"

[-- Attachment #1: Type: text/plain, Size: 1201 bytes --]

dave-mlist@bfnet.com writes:

> I want to keep qmail separating my mail --- I get mail addressed to
> dave-<something>@bfnet.com and qmail is smart enough to separate that
> into a Maildir called ~/Mail/<something>/Maildir.
> 
> Next, I want gnus to slurp the mail out of Maildir.  Here is my
> current test setup:
> 
> (setq mail-sources '((maildir :path "/home/dave/Mail/test/Maildir/new")))
> (setq gnus-select-method '(nnml "private"))
> (setq gnus-secondary-select-methods nil)
> 
> Here are my questions:
> 
> 0.  Can anyone out there using qmail and gnus send me thier config?
> 
> 1.  What use is the string "private" in the gnus-select-method?
> 
> 2.  Should I set mail-sources to a function that looks for
>     ~/Mail/*/Maildir and returns a list of (maildir) sources with
>     their various paths, or is there a better way?

I subscribe to every mailing list with a unique mailaddress. I then
forward the mail from there to one Maildir, so that all mail sits in a
single place. All mail got stamped by qmail with a "Delivered-To:"
header on the way, which I use to split them up again.

Below is an example splitting rule plus the parts of my Gnus setup
relating to mail handling.

leo


[-- Attachment #2: Type: text/plain, Size: 1156 bytes --]

;;;
;;; split mail using nnmail-split-fancy
;;;
(setq nnmail-split-methods 'nnmail-split-fancy)

(setq nnmail-split-fancy
      (list '| ;top
	    ;;; mailgroup splitting using extra addresses
	    ;;; for each list / mailgroup

	    ;; Debian Announcements
	    ;; [debian-announce@lists.debian.org]
	    (list "Delivered-To"
		  "leo-lists/debian-announce@arioch.oche.de"
		  "list.debian-announce")
[and on and on and on]

;;;
;;; Read Mail in Gnus
;;;
(setq message-send-mail-function 'message-send-mail-with-qmail)
(setq message-qmail-inject-program "/usr/sbin/qmail-inject")
(setq gnus-secondary-select-methods `((nnml "")
				      (nnfolder "archive")))

(setq nnmail-spool-file '((maildir)))
(setq nnmail-message-id-cache-length 10000)
(setq nnmail-treat-duplicates 'warn)
(setq mail-source-delete-incoming nil)
; Put the "Incoming*" files here
(setq mail-source-directory "~/Mail/Incoming/")

;;; disable "builtin" nnfolder+archive, so my own nnfolder+archive
;;; will not conflict with it
(setq gnus-message-archive-method nil)

;;;
;;; Archive mails in nnfolders
;;;
(setq nnfolder-directory "~/Mail/archives")
(setq nnfolder-get-new-mail nil)

  reply	other threads:[~1999-12-01  2:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-01  0:08 dave-mlist
1999-12-01  2:48 ` Carsten Leonhardt [this message]
1999-12-01 20:22   ` dave-mlist
1999-12-01 12:48 ` Kai Großjohann

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=877liz74vs.fsf@elric.arioch.oche.de \
    --to=leo@arioch.oche.de \
    --cc=dave-mlist@bfnet.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.
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).