problems with sending emails from Apache

"Stanisław T. Findeisen" sf181257 at students.mimuw.edu.pl
Wed Feb 13 22:07:47 UTC 2008


Hello, I am using Fedora 7 x86_64, have these packages installed:

selinux-policy-2.6.4-70.fc7
selinux-policy-targeted-2.6.4-70.fc7

and get these errors:

syslog:

Feb 13 18:18:12 srv-1 kernel: audit(1202923092.221:5): avc:  denied  { 
search } for  pid=8423 comm="sendmail" name="postfix" dev=sda1 
ino=4935485 scontext=system_u:system_r:httpd_t:s0 
tcontext=system_u:object_r:postfix_etc_t:s0 tclass=dir

Apache error log:

[Wed Feb 13 18:15:02 2008] [error] [client 84.10.17.54] File does not 
exist: /var/www/html/gnu-linux/favicon.ico
sendmail: fatal: open /etc/postfix/main.cf: Permission denied
[Wed Feb 13 20:27:16 2008] [info] [client 84.10.17.54] (70007)The 
timeout specified has expired: core_output_filter: writing data to the 
network

I think that occured when PHP application tried to send email from 
within Apache HTTP server.

STF




More information about the fedora-selinux-list mailing list