[CentOS] postfix on centos 7

Larry Martell larry.martell at gmail.com
Thu Sep 6 19:39:22 UTC 2018


On Thu, Sep 6, 2018 at 3:37 PM, Walter H. <Walter.H at mathemainzel.info> wrote:
> 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

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



More information about the CentOS mailing list