I decided to see the permission on the files under /etc/mail and this is the output:
[root@techx mail]# ls -ltr
total 284
-rwxr-xr-x. 1 root root 1847 Jan 27 2014 virtusertable
-rwxr-xr-x. 1 root root 127 Jan 27 2014 trusted-users
-rwxr-xr-x. 1 root root 92 Jan 27 2014 Makefile
-rwxr-xr-x. 1 root root 2700 Jan 27 2014 make
-rwxr-xr-x. 1 root root 997 Jan 27 2014 mailertable
-rwxr-xr-x. 1 root root 233 Jan 27 2014 domaintable
-rwxr-xr-x. 1 root root 724 Sep 12 18:13 access
-rwxr-xr-x. 1 root root 12288 Sep 12 18:13 access.db
-rwxr-xr-x. 1 root root 1041 Jun 9 2014 submit.mc
.....
.....
On my dev server development_techx this works perfectly fine so i decided to compare the permission of the dev which shows
[root@development_techx mail]# ls -ltr
total 440
-rwxr-xr-x 1 root root 1847 Jan 27 2014 virtusertable
-rwxr-xr-x 1 root root 127 Jan 27 2014 trusted-users
-rwxr-xr-x 1 root root 92 Jan 27 2014 Makefile
-rwxr-xr-x 1 root root 2700 Jan 27 2014 make
-rwxr-xr-x 1 root root 997 Jan 27 2014 mailertable
-rwxr-xr-x 1 root root 64 Jan 27 2014 local-host-names
-rwxr-xr-x 1 root root 724 Sep 12 18:13 access
-rwxr-xr-x 1 root root 12288 Sep 12 18:13 access.db
-rwxr-xr-x 1 root root 1041 Jun 9 2014 submit.mc
-rwxr-xr-x 1 root root 41680 Jun 9 2014 submit.cf
.....
.....
Do you see the difference ?
The problem with techx server is all the files have permission which hows a (.) a (dot) at the end of the permissions when you fire the ls -ltr command which we do not see on development_techx as you can see below.
service sendmail start
Redirecting to /bin/systemctl start sendmail.service
Job for sendmail.service failed because the control process exited with error code. See "systemctl status sendmail.service" and "journalctl -xe" for details.
[root@digiklug mail]# systemctl status sendmail.service
sendmail.service - Sendmail Mail Transport Agent
.....
.....
Sep 17 09:12:46 digiklug systemd[1]: Dependency failed for Sendmail Mail Transport Client.
-- Subject: Unit sm-client.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit sm-client.service has failed.
--
-- The result is dependency.
Sep 17 09:12:46 techx systemd[1]: Job sm-client.service/start failed with result 'dependency'.
Sep 17 09:12:46 techx systemd[1]: Unit sendmail.service entered failed state.
Sep 17 09:12:46 techx systemd[1]: sendmail.service failed.
Sep 17 09:12:46 techx polkitd[496]: Unregistered Authentication Agent for unix-process:31731:176847639 (system bus name :1.10322, object path /org/freedesktop/PolicyKit1/
Sep 17 09:12:50 techx unix_chkpwd[31764]: password check failed for user (root)
Sep 17 09:12:50 techx sshd[31760]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=58.242.83.21 user=root
Sep 17 09:12:50 techx sshd[31760]: pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user "root"
Sep 17 09:12:52 techx sshd[31760]: Failed password for root from 58.242.83.21 port 32150 ssh2
Sep 17 09:12:53 techx unix_chkpwd[31765]: password check failed for user (root)
With the above output how to i fix the problem of making techx look same as development_techx ??