Gnus development mailing list
 help / color / mirror / Atom feed
From: Joe Hildebrand <hildjj@fuentez.com>
Subject: Re: Gnus5, procmail, and reading mail lists.
Date: 13 Nov 1995 13:16:19 -0700	[thread overview]
Message-ID: <yya3fbs46ek.fsf@arls2006.fuentez.com> (raw)
In-Reply-To: mdb@cdc.noaa.gov's message of Mon, 13 Nov 1995 10:48:29 -0700

> "mb" == Mark Borges <mdb@cdc.noaa.gov> writes:

   mb> I use procmail.
   mb> Procmail splits my incoming mail box into the mailing list
   mb> boxes in my home directory, i.e., it takes /var/mail/me and
   mb> extracts mail from the two lists foo and bar into:

   mb> 	$HOME/mail/spool/foo 
   mb> 	$HOME/mail/spool/bar

you will have less difficulty if you use:

$HOME/mail/spool/foo.spool
$HOME/mail/spool/bar.spool

   mb> Currently, I use VM and movemail to read these, but the scoring
   mb> capability of Gnus5 is begging me to try it instead.

   mb> So, how do Gnus / procmail exist, esp. with regard to
   mb> lockfiles?

fine.  gnus uses movemail, which does locking.  I have this at the top
of my .procmailrc, though:

# use lockfiles that Emacs movemail honours... otherwise you may lose mail
LOCKEXT=+

   mb> My reading of the info pages suggests I do the following:

   mb> 	(setq nnmail-use-procmail t); use it 
   mb> 	(setq nnmail-spool-file "procmail") ; or should that be a
   mb>     variable? 

try (setq nnmail-spool-file 'procmail)

   mb> 	(setq nnmail-split-methods nil)) ; avoid unpleasant side effects
   mb>  (setq nnmail-procmail-directory (expand-file-name ~/mail/spool)) 
   mb>  (setq nnmail-procmail-suffix nil) ; just use the
   mb>     group name? I want the group to be foo and the spool file
   mb>     to be foo, as above.

don't do this last one.  there used to be a bug with that; I don't
know if it has been fixed, yet.  just use ".spool", the default.

   mb> Also, there was some discussion of why this:

   mb> ------------------------------------------------------------------------------
   mb> If you use `procmail' to split things directory into an nnmh
   mb> directory (which you shouldn't do), you should set
   mb> `nnmail-keep-last-article' to non-`nil' to prevent Gnus from
   mb> ever expiring the final article in a mail newsgroup. This is
   mb> quite, quite
   mb> important. ------------------------------------------------------------------------------
   mb> 

   mb> was important, but I lost it. Anyway, I'm planning on using
   mb> nnml as the backend to get the NOV databases (unless procmail
   mb> can do it more efficiently). Is it just as important for nnml
   mb> as nnmh?

this was the old way.  don't worry about it.  Gnus takes care of
everything, the way you are doing it.

   mb> Finally, should I restrict myself to the Gnus5 expiry process,
   mb> or can I just run a simple cron job each weekend to remove old
   mb> mail? (I suspect that might confuse Gnus5 after a while,
   mb> though.)

use expiry.  unless your script is going to modify your .overview
file, and you are *sure* that you are never going to be using Gnus at
the time of day that your cron job fires.

-- 
Joe Hildebrand                  Fuentez Systems Concepts
hildjj@fuentez.com              11781 Lee-Jackson Hwy, Suite 700
Lead Software Engineer          Fairfax, VA 22033
	"Breakfast recapitulates phylogeny" - Spider Robinson


  reply	other threads:[~1995-11-13 20:16 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-11-13 17:48 Mark Borges
1995-11-13 20:16 ` Joe Hildebrand [this message]
1995-11-14  0:24   ` Mark Borges
1995-11-15  6:19 ` Mark Borges
1995-11-15  8:17   ` Steven L. Baur
1995-11-13 20:33 Steven L. Baur
1995-11-13 22:43 ` Joe Hildebrand
1995-11-14 19:52   ` Edward J. Sabol
1995-11-13 22:21 Steven L. Baur
1995-11-14  1:43 Steven L. Baur
1995-11-14 13:04 ` Per Abrahamsen
1995-11-15  2:42   ` Steven L. Baur
1995-11-14 16:27 ` Joe Hildebrand
1995-11-14 17:22   ` Scott Blachowicz
1995-11-14 21:35     ` Joe Hildebrand
1995-11-15  6:58     ` Sudish Joseph
1995-11-15 18:46       ` Scott Blachowicz
1995-11-15  4:37   ` Sudish Joseph
1995-11-15 14:32     ` Per Abrahamsen
1995-11-15 15:50       ` Kai Grossjohann
1995-11-15 16:13         ` Per Abrahamsen
1995-11-15 17:50         ` Steven L. Baur
1995-11-17 21:18   ` Jason L Tibbitts III
1995-11-17 21:40     ` Joe Hildebrand
1995-11-14  1:55 Steven L. Baur

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=yya3fbs46ek.fsf@arls2006.fuentez.com \
    --to=hildjj@fuentez.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).