The imap2 service must be disabled on AIX.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-215387SRG-OS-000095-GPOS-00049AIX7-00-003082SV-215387r958478_rule2024-08-163
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