Skip site navigation (1)Skip section navigation (2)
Date:      04 Jul 1996 01:31:49 -0500
From:      Zach Heilig <zach@blizzard.gaffaneys.com>
To:        Annelise Anderson <andrsn@andrsn.stanford.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Sorting Incoming Mail
Message-ID:  <87ohlwttpm.fsf@freebsd.gaffaneys.com>
In-Reply-To: Annelise Anderson's message of Wed, 3 Jul 1996 14:28:16 -0700 (PDT)
References:  <Pine.BSI.3.94.960703141941.4397A-100000@andrsn.stanford.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Annelise Anderson <andrsn@andrsn.stanford.edu> writes:
> I've noticed that some people have different return addresses on
> e-mail depending on the mailing list to which they're posting,
> and presumably the incoming mail is sorted into folders or whatever
> depending on the address.  This separates the personal mail, then,
> from mail to lists.

> 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)?

I happen to sort my incoming mail through emacs gnus 5.2.32 (I think
that's the version)..  Of course the whole thing adds about 4Meg to
emacs core image, but that's another story.  It sorts mail into
virtual newsgroups, and reading mail becomes just like reading usenet
news.  It is very mailing-list friendly, if I do a (r)eply, it would
only go to the sender, or if I (f)ollowup, it Cc:'s it to the list
automagically.  Here is a sample entry:

(setq nnmail-split-methods
      '(("freebsd.questions" "^Sender:.*questions@FreeBSD.*")))

The first is a virtual newsgroup name, the second a regexp applied to
the headers to figure out if it goes in that group.  There are a few
other variables to set as well, but the info files explain it pretty
good.

The wierd thing is when I set it up, it wouldn't work no matter how
much I fiddled with it, then for some reason I rebooted, and all of a
sudden, it worked.  Odd, isn't it? (I think it has to do with having
the sticky-bit set on the emacs executable, and having just upgraded
from gnus 5.0.4 or something.. it might be modifing the already loaded
core image).

-- 
Zach Heilig (zach@blizzard.gaffaneys.com)
Support bacteria -- it's the only culture some people have!
ALL unsolicited >commercial< email is subject to a $100 proof-reading fee.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87ohlwttpm.fsf>