oddity with postfix delivering to homedir
Manuel Wolfshant
wolfy at nobugconsulting.ro
Wed Feb 18 10:15:30 UTC 2009
Paul Howarth wrote:
> Manuel Wolfshant wrote:
>> Paul Howarth wrote:
>>>
>>> This looks like standard delivery to maildir operation, with the
>>> addition of having the mailboxes in virtual user home directories
>>> under /home that are auto-created when necessary.
>>>
>>> Given that there are no other users on the system, I wonder if
>>> everything would work smoothly if you made /home and everything
>>> underneath it mail_spool_t ?
>>>
>>> Paul.
>>
>> And 99 points go to Paul for finding the correct answer. One more
>> point if you tell me how to make the change permanent, so a full
>> relabel won't bring it back to home_dir_t :)
>
> You could try:
>
> # semanage fcontext -a -t mail_spool_t '/home(/.*)?'
>
> but it's possible that genhomedircon would override that - I'm not
> sure. Try it and see what happens if you do a restorecon somewhere
> under /home.
>
> Paul.
That was it. Thank you a lot
More information about the fedora-selinux-list
mailing list