From owner-freebsd-bugs Tue Dec 9 21:50:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA18419 for bugs-outgoing; Tue, 9 Dec 1997 21:50:06 -0800 (PST) (envelope-from owner-freebsd-bugs) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA18413; Tue, 9 Dec 1997 21:50:01 -0800 (PST) (envelope-from gnats) Date: Tue, 9 Dec 1997 21:50:01 -0800 (PST) Message-Id: <199712100550.VAA18413@hub.freebsd.org> To: freebsd-bugs Cc: From: John Hay Subject: Re: bin/5265: makemap wedges at the first read of the datafile Reply-To: John Hay Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/5265; it has been noted by GNATS. From: John Hay To: Harlan.Stenn@pfcs.com (Harlan Stenn) Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/5265: makemap wedges at the first read of the datafile Date: Wed, 10 Dec 1997 07:46:35 +0200 (SAT) > Running, say: > > makemap hash /etc/mailertable > > results in a hung process (reads without success) and an /etc/mailertable.db > file that has no entries in it. This is kinda bad for sendmail... > Uhm, I have always done makemap hash /etc/mailertable.db < /etc/mailertable and this does work. According to the man page: NAME makemap - create database maps for sendmail SYNOPSIS makemap [-N] [-d] [-f] [-o] [-r] [-v] maptype mapname DESCRIPTION makemap creates the database maps used by the keyed map lookups in sendmail(8). It reads input from the standard input and outputs them to the indicated mapname. John -- John Hay -- John.Hay@mikom.csir.co.za