Wietse Venema via Postfix-users: > Viktor Dukhovni via Postfix-users: > > On Sun, Jul 28, 2024 at 09:37:19PM +1000, Viktor Dukhovni via Postfix-users > > wrote: > > > > > Yes, but the chrooted smtpd(8) process reads: > > > > > > /var/spool/postfix/etc/resolv.conf > > > > > > rather than /etc/resolv.conf, because that's what chroot jails do. > > > > > > > And the same applies to /etc/hosts, /etc/nsswitch.conf, ... Your chroot > > jail needs to faithfully mirror the corresponding configurations outside > > the jail, and the most common problem with chroots is failure to keep > > key configuration files in sync. > > More advice: don't chroot smtpd, and see if that fixes the > problem. > > postconf -F smtp/inet/chroot=n > postfix reload > > Same story for other Postfix daemons.
Another tip: replace "pgsql:/path/to/file" with "proxymap:pgsql:/path/to/file". Background: https://www.postfix.org/proxymap.8.html Wietse _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org