From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/27343 Path: main.gmane.org!not-for-mail From: Carsten Leonhardt Newsgroups: gmane.emacs.gnus.general Subject: Re: best setup for qmail and gnus Date: 01 Dec 1999 03:48:39 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: <877liz74vs.fsf@elric.arioch.oche.de> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1035164384 24036 80.91.224.250 (21 Oct 2002 01:39:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:39:44 +0000 (UTC) Cc: dave-mlist@bfnet.com Return-Path: Original-Received: from bart.math.uh.edu (bart.math.uh.edu [129.7.128.48]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id VAA29862 for ; Tue, 30 Nov 1999 21:54:16 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by bart.math.uh.edu (8.9.1/8.9.1) with ESMTP id UAB29004; Tue, 30 Nov 1999 20:53:14 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 30 Nov 1999 20:53:03 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id UAA09292 for ; Tue, 30 Nov 1999 20:52:48 -0600 (CST) Original-Received: from arioch.oche.de (qmailr@arioch.oche.de [194.94.252.126]) by sclp3.sclp.com (8.8.5/8.8.5) with SMTP id VAA29785 for ; Tue, 30 Nov 1999 21:50:18 -0500 (EST) Original-Received: (qmail 16833 invoked from network); 1 Dec 1999 02:48:40 -0000 Original-Received: from elric.arioch.oche.de (qmailr@10.6.6.6) by arioch.oche.de with SMTP; 1 Dec 1999 02:48:40 -0000 Original-Received: (qmail 2597 invoked by uid 1000); 1 Dec 1999 02:48:39 -0000 Original-To: ding@gnus.org Mail-Copies-To: never In-Reply-To: dave-mlist@bfnet.com's message of "30 Nov 1999 19:08:02 -0500" Original-Lines: 75 User-Agent: Gnus/5.070099 (Pterodactyl Gnus v0.99) XEmacs/21.1 (Bryce Canyon) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:27343 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:27343 --=-=-= dave-mlist@bfnet.com writes: > I want to keep qmail separating my mail --- I get mail addressed to > dave-@bfnet.com and qmail is smart enough to separate that > into a Maildir called ~/Mail//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 --=-=-= ;;; ;;; 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) --=-=-=--