#123698 sendmail: sendmailconfig: the "## Custom configurations" section is in the wrong place

#123698#5
Date:
2001-12-12 21:33:19 UTC
From:
To:
Package: sendmail
Version: 8.12.1-2
Severity: normal

Hi,

The "## Custom configurations" section in the sendmail.mc file
that is generated by "sendmailconfig is in the wrong place.  This
is because it is located _after_ the mailer definitions.

When I try putting my edited additions into the sendmail.mc after
the "## Custom configurations", I get an error message to the
effect that FEATURE must come before mailer definitions.

Here is a listing of my additions,

    RCS file: RCS/sendmail.mc,v
    retrieving revision 1.1
    diff -b -d -p -t -u -r1.1 sendmail.mc
    --- sendmail.mc 2001-12-02 16:07:47-05  1.1
    +++ sendmail.mc 2000-08-25 09:45:00-04
    @@ -47,6 +47,10 @@ define(`confSAFE_FILE_ENV',
     LOCAL_CONFIG
     FEATURE(`masquerade_envelope')dnl
     FEATURE(`local_no_masquerade')dnl
    +FEATURE(`genericstable')dnl
    +GENERICS_DOMAIN(`eden-hda7.my.local')dnl
    +FEATURE(`virtusertable')dnl
    +VIRTUSER_DOMAIN(`erols.com')dnl
     LOCAL_CONFIG
     Cweden-hda7.my.local
     FEATURE(`use_cw_file')dnl
    @@ -67,3 +71,10 @@ MAILER(smtp)dnl

     LOCAL_CONFIG
     ## Custom configurations below (will be preserved)
    +dnl # note - you must run one of the following after editing this file,
    +dnl #
    +dnl #           a. sendmailconfig
    +dnl #
    +dnl #           b. cd /etc/mail && make clean && make
    +dnl #
    +dnl # /etc/mail/sendmail.mc - end of file.

I tried using the "LOCAL_CONFIG" macro just prior to each of my
additions (when I put them at the indicated location), but I still
got the same error message when the sendmail.cf was generated.

Thanks,
--- Begin /etc/logrotate.d/sendmail (modified conffile)
--- End /etc/logrotate.d/sendmail