pkgsrc/mail/qmail-run/DEINSTALL
schmonz f38de5391d Add SPF checks via qmail-spp-spf (new dependency):
- On "fail", reject
- On "pass", skip any greylisting
- Else, accept mail as we otherwise would.

qmail-spp-spf adds a `Received-SPF:` header to all incoming messages.

Migrate ${PKG_SYSCONFDIR}/tcp.* to ${PKG_SYSCONFDIR}/control/tcprules.

Bump version.
2018-12-11 17:49:40 +00:00

12 lines
252 B
Text

# $NetBSD: DEINSTALL,v 1.2 2018/12/11 17:49:40 schmonz Exp $
case "${STAGE}" in
POST-DEINSTALL)
for i in ofmip pop3 smtp; do
s="${PKG_SYSCONFDIR}/control/tcprules/${i}"
[ -f "${s}.cdb" ] && ! [ -f "${s}" ] && ${RM} -f "${s}.cdb"
done
;;
esac