Re: postfix and selinux [SOLVED, at least for now]

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

 



On Sun, 12 Apr 2020 18:51:57 -0700 Samuel Sieb <samuel@xxxxxxxx> wrote:

> On 4/12/20 6:03 PM, Ranjan Maitra wrote:
> > On Sun, 12 Apr 2020 14:44:44 -0700 Samuel Sieb <samuel@xxxxxxxx> wrote:
> >
> >> On 4/12/20 11:56 AM, Ranjan Maitra wrote:
> >>> 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).
> >>
> >> You need to describe how you have it configured and what isn't working.
> >> I've been using postfix for many years and never had any selinux issues.
> >
> > I spoke too soon: it does not send e-mail from my office machine. From my home machine, it appears to send e-mail. I don't know what to send but here are the differences in the two cases for the office.machine and home.machine, followed by selinux in permissive mode and then all mail (including accumulated mail getting delivered). Any suggestions. I would like to get to the bottom of this. I wonder if in the home machine, it still works because the postfix was running when selinux was enabled, whereas in the office machine I restarted postfix and enabling selinux. This is just an uniformed musing.
>
> I don't understand what all you were showing in the parts after this,
> although I did see a bit of a permission denied message.  I would
> suggest running "fixfiles onboot" and then rebooting the system.  See if
> that solves your problem.

I wanted to report that I was able to get into my office and reboot the machine. The process of relabeling the system took around 45 minutes or so, but the issue has gone away (at least for now). I don't know if the problem was caused by something during the last (F30->F31) upgrade but that is when I noticed that selinux was blocking postfix. Hopefully, it will still work well from now on.

Thanks, Samuel!

Ranjan
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux