The imap2 service must be disabled on AIX.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-215387 | SRG-OS-000095-GPOS-00049 | AIX7-00-003082 | SV-215387r958478_rule | 2026-02-06 | 3 |
Description
The imap2 service or Internet Message Access Protocol (IMAP) supports the IMAP4 remote mail access protocol. It works with sendmail and bellmail. This service should be disabled if it is not required to prevent attacks.
ℹ️ Check
From the command prompt, execute the following command:
# grep "^imap2[[:blank:]]" /etc/inetd.conf
If there is any output from the command, this is a finding.
✔️ Fix
In "/etc/inetd.conf", comment out the "imap2" entry by running command:
# chsubserver -r inetd -C /etc/inetd.conf -d -v 'imap2' -p 'tcp'
Restart inetd:
# refresh -s inetd