Re: httpd can't send mails

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

 



Daniel J Walsh wrote:
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?
the mail was an other issue (server was not accepting mails from my IP) (first I tryed with setenforce 0 and it was the same)... but still what does this avc mean? is it a bug in the policy?

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