The following are correct for the specified binary:
Path: /usr/sbin/sendmail
User ownership: root
Group ownership: mailtrap
Access permission (octal): 2755
Access permission (human-readable): -rwxr-sr-x
You could use the following command to check the above information to determine if a correction is necessary:
Code:
# stat /usr/sbin/sendmail
If a permissions or ownership correction is needed, the following two commands could be used to accomplish this:
Code:
# chmod -v 2755 /usr/sbin/sendmail
# chown -v root:mailtrap /usr/sbin/sendmail
On Linux (CentOS/RHEL) systems the sendmail binary is distributed with the Exim RPM that is installed by cPanel/WHM; to verify if your sendmail binary is one that came with the Exim RPM, you may use the following command:
Code:
# rpm -qf /usr/sbin/sendmail
The above command should display something like the following (where the #'s represent a version number):
exim-#.##-##.#_cpanel_maildir