httpd can't send mails

Bruno Wolff III bruno at wolff.to
Mon Jul 2 17:23:17 UTC 2007


On Mon, Jul 02, 2007 at 18:17:39 +0200,
  dragoran <drago01 at gmail.com> wrote:
> I tryed to send mails using a php scripts that calls mail() but when I 
> do it I get this avc:
> audit(1183392777.651:14): avc:  denied  { read } for  pid=25048 
> comm="sendmail" name="[79366]" dev=eventpollfs ino=79366 
> scontext=user_u:system_r:system_mail_t:s0 
> tcontext=user_u:system_r:httpd_t:s0 tclass=file
> the boolean "httpd_can_sendmail" is enabled (true).
> I restarted the httpd and sendmail service after doing so... but still 
> no success.
> Any ideas?

man httpd_selinux
is a good place to start.




More information about the fedora-selinux-list mailing list