[CentOS] postfix on centos 7

Walter H.
Thu, 06 Sep 2018 19:37:29 -0000

On 06.09.2018 21:15, Larry Martell wrote:
> When I try and send mail I see this in the maillog:
>
> Sep  6 11:59:48 postfix/sendmail[11059]: fatal: open
> /etc/postfix/main.cf: Permission denied
>
> But /etc/postfix/main.cf is world readable:
>
> $ ls -l /etc/postfix/main.cf
> -rw-r--r--. 1 root root 27176 Jun  9  2014 /etc/postfix/main.cf
>
do a
ls -alZ /etc/postfix/main.cf
very probale is invalid SElinux File context
is should show

-rw-r--r--. root root system_u:object_r:postfix_etc_t:s0
/etc/postfix/main.cf