On Tue, Jan 28, 2020 at 07:53:42PM -0500, Hamid M. wrote: > Thanks for your reply. I moved the socket folder into Postfix's jail > "/var/spool/postfix/postgresql":
It would be easier to just turn off chroot in master.cf, but: > ls -ld /var/spool/postfix/postgresql > drwxrwsr-x 2 postgres postgres 4096 Jan 29 00:45 postgresql/ You also need symbolic link /var/spool/postfix/var/spool/postfix -> ../.. So that paths under /var/spool/postfix work the same way for both chrooted and not chrooted processes. -- Viktor.