postfix_spool_maildrop_t cannot be used for a file context

Solution Unverified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content