I installed postfix from lucid-backports (2.8.1-1~lucid1) and it had a problem in its init script that caused SMTP TLS verification to fail. If the
is outside the chroot, the files inside
will end up in
. This is caused by the init script copying using
in passthrough mode while feeding it absolute pathnames using
. See https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/828047
A workaround would be to use an
smtp_tls_CApath that points inside the chroot (/var/spool/postfix).
Replacing the cpio line with this one works for me:
(cd "$ca_path" && find . -print0 | cpio -0pdL "$dest_dir")
Use at your own risk.