From owner-freebsd-hackers Fri Jun 14 02:32:01 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA24227 for hackers-outgoing; Fri, 14 Jun 1996 02:32:01 -0700 (PDT) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id CAA24185 for ; Fri, 14 Jun 1996 02:31:55 -0700 (PDT) Received: from rah.star-gate.com (localhost.v-site.net [127.0.0.1]) by rah.star-gate.com (8.7.5/8.7.3) with ESMTP id EAA01584; Fri, 14 Jun 1996 04:31:50 -0500 (EST) Message-Id: <199606140931.EAA01584@rah.star-gate.com> X-Mailer: exmh version 1.6.5 12/11/95 To: "Jordan K. Hubbard" cc: hackers@FreeBSD.org Subject: Re: slocal and duplicate messages 8) In-reply-to: Your message of "Fri, 14 Jun 1996 01:07:42 MST." <8527.834739662@time.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 14 Jun 1996 04:31:49 -0500 From: Amancio Hasty Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk >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