Re: problems with sending emails from Apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stanisław T. Findeisen wrote:
> 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
> 
> -- 
> fedora-selinux-list mailing list
> fedora-selinux-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/fedora-selinux-list
Try

setsebool -P httpd_can_sendmail=1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkezbEkACgkQrlYvE4MpobNzTQCfTZUta+WObtOb1s0B9eFpuj+g
i5YAn1wQFtuOBUo/omhm2+ZROdM71yqI
=teDZ
-----END PGP SIGNATURE-----

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux