Goal: a deb which depends on all necessary packages, and ships all necessary config files.
autopkgtest to drive a test suite.
- Don't add X-Sender-{ASN,Public-Suffix} headers for outgoing mail.
Until autopkgtest gains support for systemd-nspawn, LXC looks like the next best thing.
Create the testbed:
$ (cd debian/tests/testbed && lxc-create -B dir -n mailrobots -f lxc.conf -t "$PWD/debian2"
$ debian/rules clean
$ dpkg-buildpackage -us -uc
$ autopkgtest -s ../*.changes -- lxc -se mailrobots