The error message indicates the file having the issue:
failed to open /etc/mailips for linear search: Permission denied
Check /etc/mailips permissions:
Code:
ls -lah /etc/mailips
It should show the following:
Code:
# ls -lah /etc/mailips
-rw-r----- 1 root mail 0 Mar 11 21:40 /etc/mailips
If it does not show root:mail for ownership, then fix that:
Code:
chown root:mail /etc/mailips
If it doesn't show 640 for file permissions, fix that:
Code:
chmod 640 /etc/mailips
If it does have the right ownership and permissions, then next check the file isn't set to be immutable:
Code:
lsattr /etc/mailips
It might look like the following:
Code:
# lsattr /etc/mailips
-------A----- /etc/mailips
An uppercase A is fine. If it has a lowercase i or a lowercase a, then it isn't fine, and those need removed:
Code:
chattr -ia /etc/mailips