From harlan@pfcs.com  Tue Dec  9 20:37:23 1997
Received: from pcpsj.pfcs.com (harlan.clark.net [168.143.10.179])
          by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA13477
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 9 Dec 1997 20:37:18 -0800 (PST)
          (envelope-from harlan@pfcs.com)
Received: from mumps.pfcs.com (mumps.pfcs.com [192.52.69.11])
	by pcpsj.pfcs.com (8.8.8/8.8.8) with SMTP id XAA04238
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 9 Dec 1997 23:37:08 -0500 (EST)
Received: from brown.pfcs.com by mumps.pfcs.com with SMTP id AA21327
  (5.67b/IDA-1.5 for <FreeBSD-gnats-submit@freebsd.org>); Tue, 9 Dec 1997 23:37:07 -0500
Received: (from harlan@localhost)
	by brown.pfcs.com (8.8.8/8.8.8) id XAA27687;
	Tue, 9 Dec 1997 23:37:07 -0500 (EST)
Message-Id: <199712100437.XAA27687@brown.pfcs.com>
Date: Tue, 9 Dec 1997 23:37:07 -0500 (EST)
From: Harlan Stenn <Harlan.Stenn@pfcs.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: makemap wedges at the first read of the datafile
X-Send-Pr-Version: 3.2

>Number:         5265
>Category:       bin
>Synopsis:       makemap wedges at the first read of the datafile
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec  9 20:40:01 PST 1997
>Closed-Date:    Sat Dec 20 11:56:35 MET 1997
>Last-Modified:  Sat Dec 20 11:57:34 MET 1997
>Originator:     Harlan Stenn
>Release:        FreeBSD 2.2.5-STABLE i386
>Organization:
>Environment:

	both 2.2.5 and 2.2.5-stable

>Description:

 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...

>How-To-Repeat:

	See Description.

>Fix:
	
>Release-Note:
>Audit-Trail:

From: John Hay <jhay@mikom.csir.co.za>
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

From: Harlan Stenn <Harlan.Stenn@pfcs.com>
To: John Hay <jhay@mikom.csir.co.za>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/5265: makemap wedges at the first read of the datafile 
Date: Wed, 10 Dec 1997 11:16:40 -0500

 Sorry - it was a brain fart.  I realized this last night while I was
 sleeping.
 
 I was expecting the behavior I was used to with the pre-8 sendmail.
 
 H
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Sat Dec 20 11:56:35 MET 1997 
State-Changed-Why:  

Pilot error.  The text file for the map is expected to be on stdin. 
>Unformatted:
