Issue
Description of problem:
When using an socket connection to the PostgreSQL database the cleanup process can't connect during SELinux blocking.
Version-Release number of selected component (if applicable):
postfix-pgsql-3.5.9-18.el9.x86_64
Actual results:
failed with:
postfix/cleanup[579622]: warning: connect to pgsql server postgresql://postfix?host=/run/postgresql: connection to server on socket "/run/postgresql/.s.PGSQL.5432" failed: Permission denied??Is the server running locally and accepting connections on that socket??
Expected results:
Working connection using sockets.
Additional info:
Using locahost via tcp will work.