postfix_spool_maildrop_t cannot be used for a file context
Issue
When we want to assign the postfix_spool_maildrop_t context for a file with the semanage-fcontext command, we get an error message:
ValueError: Type postfix_spool_maildrop_t is invalid, must be a file or device type
Environment
Red Hat Enterprise Linux 7
postfix
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
