Displaying 6 results from an estimated 6 matches for "postfix_etc_t".
2018 Sep 06
6
postfix on centos 7
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
2016 Jan 08
0
SELinux context change on /etc/posfix/main.cf
This morning I received this report of a change to the SELinux context
of /etc/posfix/main.cf on one of our hosts.
from:
system_u:object_r:postfix_etc_t:s0
to:
unconfined_u:object_r:postfix_etc_t:s0
The contents of the file have been verified as unchanged. There was a
yum update applied yesterday to this host and this may be an intended
alteration. However, can anyone confirm this for me? Or, otherwise
explain what has happened?
--
***...
2018 Sep 06
1
postfix on centos 7
...need to be
able to send mail from a PHP app.
> If so, you may need to set the SELinux boolean httpd_can_sendmail.
OK - I just did that - thanks!
>
> Otherwsie, check/restore default SELinux labelling for /etc/postfix/main.cf
That looks correct:
-rw-r--r--. root root system_u:object_r:postfix_etc_t:s0 /etc/postfix/main.cf
2009 Apr 15
2
SELinux and "i_stream_read() failed: Permission denied"
...ype default_t;
type dovecot_t;
type dovecot_deliver_t;
type dovecot_deliver_exec_t;
type dovecot_var_log_t;
type etc_runtime_t;
type fs_t;
type home_root_t;
type httpd_config_t;
type httpd_t;
type initrc_t;
type postfix_etc_t;
type postfix_local_t;
type postfix_master_t;
type postfix_postdrop_t;
type postfix_postqueue_exec_t;
type postfix_public_t;
type postfix_pipe_t;
type sendmail_t;
type sendmail_exec_t;
type src_t;
type tmp_t;
ty...
2018 Sep 06
0
postfix on centos 7
...t;
> 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
2009 Oct 04
2
deliver stopped working
...I upgraded to 1.2.5 but it did not
help. There were a lot of errors in the audit.log, however SELinux was already in
permissive mode and switching it to disabled did no good. I created the following policy
to get rid of all of the errors in the audit log:
module local_postfix 1.0;
require {
type postfix_etc_t;
type home_root_t;
type apmd_t;
type setrans_t;
type port_t;
type etc_mail_t;
type snmpd_t;
type tmp_t;
type dovecot_deliver_t;
type postfix_smtp_t;
type nfs_t;
type var_run_t;
type usr_t;
type httpd_t;
type audisp_t;
type postfix_cleanup_t;
type inetd_t;
type portmap_t;
type post...