Gnus development mailing list
 help / color / mirror / Atom feed
From: Allan Poindexter <allan@royal-oak.csc.ti.com>
Subject: more nnbabyl woes
Date: 20 Aug 1996 15:59:23 -0500	[thread overview]
Message-ID: <b8lof9hivo.fsf@royal-oak.csc.ti.com> (raw)

I have a series of nnbabyl newsgroups defined.  Below is a typical example:

("nnbabyl+clist:gnus" 4
 ((1 . 2)
  (15 . 16)
  24 112 115
  (118 . 121)
  127 139 148 152 157)
 ((expire 16)
  (reply 15)
  (tick 157))
 (nnbabyl "clist"
	  (nnmail-spool-file procmail)
	  (nnmail-use-procmail t)
	  (nnmail-procmail-directory "~allan/mail/.inboxes")
	  (nnmail-procmail-suffix ".c")
	  (nnbabyl-mbox-file "~allan/mail/nnbabyl/nnclist")
	  (nnbabyl-active-file "~allan/mail/nnbabyl/.active/clist")
	  (nnbabyl-get-new-mail t))
 ((to-address . "ding@ifi.uio.no")))

The only differences between the definitions of the different groups are:

1.  Different nnmail-procmail-suffix settings according to what category the
groups go into.  ".c" means a computer related mailing list.  ".a" is
administrative messages.  ".mail" is my main personal email etc.

2.  Different nnbabyl-mbox-file and nnbabyl-active-file settings to correspond
with the suffix distinctions.  (I toyed with the idea of one active file but
wasn't sure it would work so I decided to try this first.)

3.  Different group parameters.  Non-mailing-list groups have no to-address
(of course).  Some are auto-expire, etc.

After a couple of false starts (e.g. don't set nnmail-spool-file to
"'procmail" since the variable list isn't evaluated) this setup worked great
when I started it up.  Gnus quickly sucked my procmail directory dry and
produced the newsgroups in a most gratifying manner.  The problems started
when I tried to get more new mail.  The M-g command would return immediately
without getting any of the new mail.

I looked at the server buffer and there were two definitions of each of the
servers.  I deleted the server definitions that were writable and left only
one copy of each (a read-only definition).  This zapped the server-alist in my
.newsrc.eld but seemed to fix the problem.

It was not to be, however.  Soon the problem reappeared but this time there
were no double server definitions to blame.  Gnus would always read the mail
correctly on startup but at some indeterminate time afterwards it would fail
to see any new mail.  On a hunch I tried manually closing the server to see
what would happen.  Bingo.  It always reads the mail correctly when the server
is not already open and then fails after an indeterminate number of later
M-g's.

Does anyone have any ideas?  

In order to make my workaround more palatable does anyone have a suggestion
for having M-g close the server automatically before it tries to read new
mail?  I tried setting nnmail-pre-get-new-mail-hook in the group parameters
but that did not work.




             reply	other threads:[~1996-08-20 20:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-20 20:59 Allan Poindexter [this message]
1996-08-22 15:33 ` Lars Magne Ingebrigtsen

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=b8lof9hivo.fsf@royal-oak.csc.ti.com \
    --to=allan@royal-oak.csc.ti.com \
    --cc=allan@csc.ti.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).