Bug 6035 - mailertable should be in /etc/mail
mailertable should be in /etc/mail
Product: Red Hat Linux
Classification: Retired
Component: sendmail (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Cristian Gafton
Depends On:
  Show dependency treegraph
Reported: 1999-10-18 02:52 EDT by Kolar, Petr
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-02-17 09:16:58 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Kolar, Petr 1999-10-18 02:52:33 EDT
/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 05:01:59 EST
Another way to fix the problem is to insert in the source m4 file

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_, `',
                                   DATABASE_MAP_TYPE` -o /etc/mail/mailertable',
                                   DATABASE_MAP_TYPE` -o /etc/mailertable'),
------8<----- CUT HERE -----8<------

Hope this helps.
Comment 2 Bernhard Rosenkraenzer 2000-02-17 09:16:59 EST
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)

Note You need to log in before you can comment on or make changes to this bug.