> > I have no idea, what libs, etc. are also required to be copied to > > chroot. > > To find out what files are missing, use strace, as described in > the DEBUG_README file. This will show the explicit names of files > and directories in open(), stat() etc. calls. > > It won't show you the implicit names that a program is looking for > when it uses opendir/readdir to discover what names exist.
Thanks a lot. Fixed it. Just for people looking in mail archive:
Under Ubuntu you do not need to copy /usr/lib/sasl2. List of files
(some):
/etc/postfix/sasl/smtpd.conf
--> Inside point ldapdb_rc to i.e. /etc/ldap.conf, which is here:
/var/spool/postfix/etc/ldap.conf
--> Inside point cert, key and ca to i.e. /etc/ssl/certs, here:
/var/spool/postfix/etc/ssl/certs/{newcert.pem,newkey.pem,cacert_org.crt}
/var/spool/postfix/etc/ldap/ldap.conf
--> which needs to be copied from /etc/ldap/ldap.conf
Create random and urandom devices in /var/spool/postfix/dev
After that postfix/smtpd will run fine with sasl/external/ldapdb in a
chroot environment.
Christian
--
Roessner-Network-Solutions
Bachelor of Science Informatik
Nahrungsberg 81, 35390 Gießen
F: +49 641 5879091, M: +49 176 93118939
USt-IdNr.: DE225643613
http://www.roessner-network-solutions.com
signature.asc
Description: This is a digitally signed message part
