4.5.4.3 /etc/mail/sendmail.cf - DaemonPortOptions

Information

The recommendation is to enable running sendmail in MTA mode to support local applications that require legacy MTA (i.e., connection via port 25) support.

Recall the preferred recommendation is to not run sendmail locally.

Rationale:

Solution

Create a backup copy of /etc/mail/sendmail.cf:

cp -p /etc/mail/sendmail.cf /etc/mail/sendmail.cf.pre_cis

Edit:

vi /etc/mail/sendmail.cf

Replace: (assuming the default configuration)

O DaemonPortOptions=Name=MTA

with

O DaemonPortOptions=Name=MTA,Addr=localhost

Additional Information:

Reversion:

Copy back the original /etc/sendmail.cf file:

cp -p /etc/mail/sendmail.cf.pre_cis /etc/mail/sendmail.cf

See Also

https://workbench.cisecurity.org/benchmarks/13069

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b.

Plugin: Unix

Control ID: 4effb0b75e99726d63d73155bf0067185f2cb5efe66fc4f0b60fca90a08ed4cb