On Wed, 15 May 2013 16:42:20 +0200, "Jan P. Kessler" writes:
dig ist gegen so viel Zeug gelinkt (libxml, libgeoip etc.), das krieg ich im postfix-chroot so schnell nicht hin. "Draussen" geht sowieso alles, wie's soll.
Postfix im chroot - hat es denn da eine vernünftige nsswitch.conf und resolv.conf?
Es sind die selben, die ausserhalb des chroot einwandfrei funktionieren:
$ md5sum /etc/nsswitch.conf /var/spool/postfix/etc/nsswitch.conf /etc/resolv.conf /var/spool/postfix/etc/resolv.conf 109e33e2c91d1853b5bc56078a96aa18 /etc/nsswitch.conf 109e33e2c91d1853b5bc56078a96aa18 /var/spool/postfix/etc/nsswitch.conf 2bd3354f2bfba7b29b08f5558df2df1b /etc/resolv.conf 2bd3354f2bfba7b29b08f5558df2df1b /var/spool/postfix/etc/resolv.conf
resolv.conf (Richtung lokaler Bind halt): search waldner.priv.at <snip ein paar andere search-domains> nameserver 127.0.0.1
$ egrep -v "^($|#)" /etc/nsswitch.conf passwd: compat group: compat shadow: compat hosts: files dns networks: files protocols: db files services: db files ethers: db files rpc: db files netgroup: nis
(Mit nsswitch.conf hatte ich noch nicht zu tun bisher.)
cheers, &rw