Bug 60956

Summary: Receive errors when running m4 command
Product: [Retired] Red Hat Linux Reporter: Mike Chambers <mike>
Component: sendmailAssignee: Florian La Roche <laroche>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-03-10 14:46:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
sendmail.mc file none

Description Mike Chambers 2002-03-10 14:39:34 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461)

Description of problem:
When running the command of m4 /etc/mail/sendmail.mc > /etc/sendmail.cf, I get 
an error involving access.db

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Edit /etc/mail/sendmail.mc
2. Save and close
3. m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
	

Actual Results:  [root@homer mail]# m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
*** WARNING: missing -T<TMPF> in argument of FEATURE(`access_db', hash -
o /etc/mail/access.db)

Expected Results:  Config file should be created with no errors.

Additional info:

This is a fresh install of beta 2, beta 1 didn't have this problem.  I only 
edited sendmail.mc and deleted the Addr=127.0.0.1 section and that was it.  
Nothing else was changed.  Attached is my sendmail.mc file.  To get around the 
problem for now, I added dnl to the access.db and blacklist lines.

Comment 1 Mike Chambers 2002-03-10 14:43:37 UTC
Created attachment 48066 [details]
sendmail.mc file

Comment 2 Mike Chambers 2002-03-10 14:46:28 UTC
I fixed this bug by adding changing the below line..

FEATURE(`access_db',`hash -o /etc/mail/access.db')dnl

to this new line..

FEATURE(`access_db',`hash -T<TMPF> /etc/mail/access.db')dnl

Receive no more errors.

Comment 3 Florian La Roche 2002-03-13 15:18:15 UTC
Added this to 8.12.2-7 or newer.

Thanks,

Florian La Roche