Bug 37720 - DaemonPortOptions is hardcoded in /etc/sendmail.cf
DaemonPortOptions is hardcoded in /etc/sendmail.cf
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: sendmail (Show other bugs)
7.1
i686 Linux
medium Severity low
: ---
: ---
Assigned To: Florian La Roche
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-04-25 23:43 EDT by Alaeddin A. Aydiner
Modified: 2007-04-18 12:32 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-04-26 07:39:14 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Alaeddin A. Aydiner 2001-04-25 23:43:53 EDT
The sendmail port options seem to be adjustable by editing
/etc/mail/sendmail.mc. In my case, I needed to get email from
the network and hence commented out the following in sendmail.mc:

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')

However, after wasting some time, I found out that the options are
hardcoded in /etc/sendmail.cf as follows:

O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA

This is very confusing and I think it should be controlled
by sendmail.mc.

Thanks.
Comment 1 Need Real Name 2001-04-26 07:39:10 EDT
After editing sendmail.mc, did you run m4 to create a new sendmail.cf file?
Sendmail.mc controls the generation of the sendmail.cf file. Any changes made
there will have no effect until you generate a new .cf file and restart sendmail.
The syntax should be included in the comments at the top of sendmail.mc, and
should be similar to:
 m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
Comment 2 Arenas Belon, Carlo Marcelo 2001-04-28 03:18:45 EDT
this is explained on the RELEASE-NOTES file

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