Re: httpd can't send mails

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

 



Bruno Wolff III wrote:
On Mon, Jul 02, 2007 at 18:17:39 +0200,
  dragoran <drago01@xxxxxxxxx> 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?
If you use

# grep http /var/log/audit/audit.log | audit2allow -M myhttp
# semodule -i myhttp.pp

Does the mail work?


man httpd_selinux
is a good place to start.

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

--
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