How do I modify SELinux to allow OpenDKIM to write to /var/tmp?
Solution 1:
There is no need to allow OpenDKIM to write to any other directories. Just write to the default temporary directory, /var/run/opendkim
, which should already exist and have the correct SELinux context to allow it to be written to.