Date: Fri, 14 Jun 1996 04:31:49 -0500 From: Amancio Hasty <hasty@rah.star-gate.com> To: "Jordan K. Hubbard" <jkh@time.cdrom.com> Cc: hackers@FreeBSD.org Subject: Re: slocal and duplicate messages 8) Message-ID: <199606140931.EAA01584@rah.star-gate.com> In-Reply-To: Your message of "Fri, 14 Jun 1996 01:07:42 MST." <8527.834739662@time.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>From The Desk Of "Jordan K. Hubbard" :
> > Okay, I just probably didn't spot right away... At any rate, it is working
> > fine over . So crossposters, beware I will only get one message from
> > you !! 8)
>
> Unfortunately, it doesn't seem to work for me. I reinstalled MH, just
> to make sure, and touched a $HOME/.maildelivery.db file, which has not
> changed size from 0 since. Was there some other step involved? :-)
>
> Jordan
Well, you are going to have to do some good old debugging.
I have a .maildelivery to sort out my mail;however, I didn't
change it for the MSGID option.
-rw------- 1 hasty wheel 16384 Jun 14 04:12 .maildelivery.db
The file started out with size 0.
from mh/uip/slocal.c
#ifdef MSGID
#ifdef BSD44
#define MSGID_PAGFILE ".maildelivery.db"
#define MSGID_PAGFNO dbm_dirfno
#else
#define MSGID_PAGFILE ".maildelivery.pag"
#define MSGID_PAGFNO dbm_pagfno
#endif
...
#ifdef MSGID
struct stat st;
static int first = 1;
if (stat (MSGID_PAGFILE, &st) != NOTOK) {
/*
* Allow a user to trigger the database by creating an
* empty database file. That gets us here, now we need
* to remove it so DBM will create and initialize it properly.
*/
if (st.st_size == 0 && first) {
first = 0;
(void) unlink(MSGID_PAGFILE);
}
if (check_msgid (fd, ".maildelivery") == DONE)
return OK;
}
#endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606140931.EAA01584>
