4.7.4.5 Ensure access to /var/spool/clientmqueue is configured

Information

The recommended DAC (discretionary access control) settings for the /var/spool/clientmqueue directory are applied.

Queued messages are the messages that have not yet reached their final destination. To ensure the integrity of the messages during storage, the mail queue directory must be secured from unauthorized access.The clientmqueue ( /var/spool/clientmqueue ) is the mail queue for handling locally generated outbound emails. This queue is used when mail is submitted to sendmail as an MSP rather than as an MTA

Note: It is possible to specify an alternate spool directory in the /etc/mail/submit.cf file via the QueueDirectory parameter. When this is used that directory name needs identical DAC settings.

Solution

Set the recommended permissions and ownership on /var/spool/mqueue :

chmod ug=rwx,o= /var/spool/clientmqueue
chown smmsp.smmsp /var/spool/clientmqueue

See Also

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

Item Details

Category: ACCESS CONTROL, MEDIA PROTECTION

References: 800-53|AC-3, 800-53|AC-5, 800-53|AC-6, 800-53|MP-2, CSCv7|14.6

Plugin: Unix

Control ID: 82eaff555f42a56207be1a6932f45858407715c4c13703ff9443f954c026acde