From owner-freebsd-questions Wed Jul 3 15:15:39 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA01099 for questions-outgoing; Wed, 3 Jul 1996 15:15:39 -0700 (PDT) Received: from palmer.demon.co.uk (palmer.demon.co.uk [158.152.50.150]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA01084 for ; Wed, 3 Jul 1996 15:15:33 -0700 (PDT) Received: from palmer.demon.co.uk (localhost [127.0.0.1]) by palmer.demon.co.uk (sendmail/PALMER-2) with ESMTP id XAA11281; Wed, 3 Jul 1996 23:15:14 +0100 (BST) To: Annelise Anderson cc: freebsd-questions@FreeBSD.ORG From: "Gary Palmer" Subject: Re: Sorting Incoming Mail In-reply-to: Your message of "Wed, 03 Jul 1996 14:28:16 PDT." Date: Wed, 03 Jul 1996 23:15:12 +0100 Message-ID: <11279.836432112@palmer.demon.co.uk> Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Annelise Anderson wrote in message ID : > This could be done by creating users for the various lists, but > then one would have to log in as these various users to read the > mail. Is there a better way to do this--e.g., using /etc/aliases > and procmail (procmail seems rather complicated to set up)? There are 2 solutions. procmail is what I personally use, but if you use MH or have MH installed, you can also use `slocal'. My procmail setup at the minute is fairly simple. If there is an `X-Loop:' header, it goes into an `in-freebsd' file, otherwise it gets dropped in my mailbox. That way personal mail (or urgent mail) is read first... Here is a bit of my older procmailrc which DOES separate out by lists: :0:/tmp/.maillock-hackers * ^Sender.*owner-freebsd-hackers /home/gpalmer/Mail/in-hackers :0:/tmp/.maillock-hackers * ^Sender.*owner-hackers /home/gpalmer/Mail/in-hackers :0:/tmp/.maillock-ports * ^Sender.*owner-freebsd-ports /home/gpalmer/Mail/in-ports :0:/tmp/.maillock-ports * ^Sender.*owner-ports /home/gpalmer/Mail/in-ports Note that I was never very sure which `owner' each list had, so I went with both just to be sure (I think at one point some lists had `owner-freebsd-foo' and others had `owner-foo', and I could never be bothered figuring out which was which :-) ) As I use the emacs MH interface, all I need to do then is hit CTRL-U i and select which maildrop I want to `inc' from. Whoops, nearly forgot: elm has a `filter' program too, but I would be careful of that one, it coredumps on mails with long Subject: lines. Gary -- Gary Palmer FreeBSD Core Team Member FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info