Bug 6035

Summary: mailertable should be in /etc/mail
Product: [Retired] Red Hat Linux Reporter: Kolar, Petr <petr.kolar>
Component: sendmailAssignee: Cristian Gafton <gafton>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1   
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: 2000-02-17 14:16:58 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:

Description Kolar, Petr 1999-10-18 06:52:33 UTC
/etc/rc.d/init.d/sendmail expects mailertable to be in
/etc/mail directory. But FEATURE(`mailertable') causes
sendmail will search it in /etc.

Fix: replace FEATURE(`mailertable') line in
/usr/lib/sendmail-cf/cf/redhat.mc for line
FEATURE(`mailertable', `hash -o /etc/mail/mailertable')

Comment 1 Giuseppe Paterno 1999-12-08 10:01:59 UTC
Another way to fix the problem is to insert in the source m4 file
define(`_USE_ETC_MAIL_').

Default behaviour for feature/mailertable.m4 is to use /etc/mailertable if the
above define is not set.

------8<----- CUT HERE -----8<------
define(`MAILER_TABLE', ifelse(_ARG_, `',
                              ifdef(`_USE_ETC_MAIL_',
                                   DATABASE_MAP_TYPE` -o /etc/mail/mailertable',
                                   DATABASE_MAP_TYPE` -o /etc/mailertable'),
                              `_ARG_'))dnl
------8<----- CUT HERE -----8<------

Hope this helps.

Comment 2 Bernhard Rosenkraenzer 2000-02-17 14:16:59 UTC
Thanks, fixed in 8.9.3-19.
define(`_USE_ETC_MAIL_') is not exactly the same, by the way. That would also
relocate some other files (/usr/lib/sendmail.hf)