postrm is in qmail-run 2.0.2.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | #!/bin/sh
set -e
test "$1" != 'purge' ||
exec rm -rf /etc/qmail/qmail-smtpd /etc/qmail/qmail-send \
/etc/qmail/tcp.smtp.cdb
test "$1" = 'remove' || exit 0
update-service --remove /etc/qmail/qmail-send || :
update-service --remove /etc/qmail/qmail-smtpd || :
update-service --remove /etc/qmail/qmail-verify || :
|