Am 12.04.2020 um 22:49 schrieb Ranjan Maitra:
On Sun, 12 Apr 2020 21:45:00 +0200 Alexander Dalloz <ad+li...@uni-x.org> wrote:

Am 12.04.2020 um 20:56 schrieb Ranjan Maitra:
Hi,

I have selinux enforcing and postfix for mail delivery. It turns out that postfix does 
not "work" if selinux is enabled (setenforce 0 selinux sets it to work again).

[ ... ]

but I am not sure: are these the best ways to use postfix with selinux on F31?

Many thanks and best wishes,
Ranjan

Which AVCs do you get? Did you analyze them using audit2why?

My apologies, but what does this mean? Sorry.
Ranjan

Run your installation with SELinun in permissive mode. Then find the AVCs related to postfix.

https://docs.fedoraproject.org/en-US/quick-docs/troubleshooting_selinux/

You can use ausearch or grep for "type=AVC" in the audit.log. You can then feed audit2why with the AVC audit log line and get a hint what may needed to do. Maybe a directory needs to have proper labeling.

You didn't tell us which part of Postfix does not operate as it should.

Alexander


_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to