Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...
|
Re: squirrelmail / postfix mail lost policy 1.17.30-2.80: msg#00171
|
Subject: |
Re: squirrelmail / postfix mail lost policy 1.17.30-2.80 |
Daniel J Walsh wrote:
Jeremy Ardley wrote:
When I check the messages log I see the following avc entries
Feb 24 17:14:46 mail kernel: audit(1109236486.039:0): avc: denied {
read append } for pid=7589 exe=/bin/bash
path=/var/lib/squirrelmail/prefs/jeremy.abook dev=dm-0 ino=6438914
scontext=user_u:system_r:httpd_sys_script_t t
context=root:object_r:httpd_var_lib_t tclass=file
Feb 24 17:14:46 mail kernel: audit(1109236486.128:0): avc: denied {
create } for pid=7589 exe=/usr/sbin/sendmail.postfix
scontext=user_u:system_r:httpd_sys_script_t
tcontext=user_u:system_r:httpd_sys_script_t tclass=unix_ dgram_socket
Feb 24 17:14:46 mail kernel: audit(1109236486.136:0): avc: denied {
search } for pid=7589 exe=/usr/sbin/sendmail.postfix name=spool
dev=dm-0 ino=4030501 scontext=user_u:system_r:httpd_sys_script_t
tcontext=system_u:object _r:var_spool_t tclass=dir
Feb 24 17:14:46 mail kernel: audit(1109236486.137:0): avc: denied {
create } for pid=7589 exe=/usr/sbin/sendmail.postfix
scontext=user_u:system_r:httpd_sys_script_t
tcontext=user_u:system_r:httpd_sys_script_t tclass=unix_ dgram_socket
I have seen previous correspondence regarding similar faults but
nothing I have tried has improved things. Is there a definitive fix I
can apply?
restorecon -R -v /usr/lib/squirrelmail /usr/sbin/sendmail.postfix
/var/spool
Should help.
I had to change the command to
restorecon -R -v /var/lib/squirrelmail /usr/sbin/sendmail.postfix
/var/spool
However I still get errors - though different ones - and the mail is
still dropped
Feb 25 03:30:47 mail kernel: audit(1109273447.864:0): avc: denied {
create } for pid=8704 exe=/usr/sbin/sendmail.postfix
scontext=user_u:system_r:httpd_sys_script_t
tcontext=user_u:system_r:httpd_sys_script_t tclass=unix_dgram_socket
Feb 25 03:30:47 mail kernel: audit(1109273447.878:0): avc: denied {
search } for pid=8704 exe=/usr/sbin/sendmail.postfix name=spool
dev=dm-0 ino=4030501 scontext=user_u:system_r:httpd_sys_script_t
tcontext=system_u:object_r:var_spool_t tclass=dir
Feb 25 03:30:47 mail kernel: audit(1109273447.880:0): avc: denied {
create } for pid=8704 exe=/usr/sbin/sendmail.postfix
scontext=user_u:system_r:httpd_sys_script_t
tcontext=user_u:system_r:httpd_sys_script_t tclass=unix_dgram_socket
|
| |