[CentOS] postfix on centos 7

Walter H. Walter.H at mathemainzel.info
Thu Sep 6 19:37:29 UTC 2018


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






More information about the CentOS mailing list