pkgsrc/mail/courier-mta/DEINSTALL
jlam f6b00a9e48 Update mail/courier-mta to 0.57.1. Changes from version 0.56.0 include:
* Major code cleanup.

* "User unknown" reports complete local address, including extensions.

* Only run courierfilters after all control files are closed.

* "opt BOFHHEADERLIMIT" replaces hardcoded limit of 100,000 bytes of
  headers per message.

* Reject <@domain.com> for a recipient's address.

* Tolerate newline-less responses from the filter.

* Document that sysexit 100 from .courier is a permanent failure.

* "courier show all" and "courier clear all" commands for managing
  backscatter suppression list.
2007-10-15 15:37:13 +00:00

95 lines
3.1 KiB
Text

# $NetBSD: DEINSTALL,v 1.2 2007/10/15 15:37:13 jlam Exp $
case ${STAGE} in
DEINSTALL)
#
# Note some additional files that may be created by the sysadmin
# that can probably be removed.
#
if ${TEST} -x ./+FILES; then
for file in \
${PKG_SYSCONFDIR}/aliases-esmtp \
${PKG_SYSCONFDIR}/aliases-esmtp.dat \
${PKG_SYSCONFDIR}/aliases-local \
${PKG_SYSCONFDIR}/aliases-local.dat \
${PKG_SYSCONFDIR}/aliases-uucp \
${PKG_SYSCONFDIR}/aliases-uucp.dat \
${PKG_SYSCONFDIR}/aliases.dat \
${PKG_SYSCONFDIR}/aliasfilteracct \
${PKG_SYSCONFDIR}/backuprelay \
${PKG_SYSCONFDIR}/batchsize \
${PKG_SYSCONFDIR}/bofh \
${PKG_SYSCONFDIR}/dotextension \
${PKG_SYSCONFDIR}/dsnfrom \
${PKG_SYSCONFDIR}/dsnlimit \
${PKG_SYSCONFDIR}/esmtpacceptmailfor \
${PKG_SYSCONFDIR}/esmtpacceptmailfor.dat \
${PKG_SYSCONFDIR}/esmtpd.pem \
${PKG_SYSCONFDIR}/esmtpd.rand \
${PKG_SYSCONFDIR}/esmtpdelay \
${PKG_SYSCONFDIR}/esmtpgreeting \
${PKG_SYSCONFDIR}/esmtphelo \
${PKG_SYSCONFDIR}/esmtppercentrelay \
${PKG_SYSCONFDIR}/esmtppercentrelay.dat \
${PKG_SYSCONFDIR}/esmtproutes \
${PKG_SYSCONFDIR}/esmtptimeout \
${PKG_SYSCONFDIR}/esmtptimeoutconnect \
${PKG_SYSCONFDIR}/esmtptimeoutdata \
${PKG_SYSCONFDIR}/esmtptimeouthelo \
${PKG_SYSCONFDIR}/esmtptimeoutkeepalive \
${PKG_SYSCONFDIR}/esmtptimeoutkeepaliveping \
${PKG_SYSCONFDIR}/esmtptimeoutquit \
${PKG_SYSCONFDIR}/faxqueuetime \
${PKG_SYSCONFDIR}/hosteddomains \
${PKG_SYSCONFDIR}/hosteddomains.dat \
${PKG_SYSCONFDIR}/locals \
${PKG_SYSCONFDIR}/localtimeout \
${PKG_SYSCONFDIR}/me \
${PKG_SYSCONFDIR}/msgidhost \
${PKG_SYSCONFDIR}/nochangingfrom \
${PKG_SYSCONFDIR}/queuefill \
${PKG_SYSCONFDIR}/queuehi \
${PKG_SYSCONFDIR}/queuelo \
${PKG_SYSCONFDIR}/queuetime \
${PKG_SYSCONFDIR}/retryalpha \
${PKG_SYSCONFDIR}/retrybeta \
${PKG_SYSCONFDIR}/retrydelta \
${PKG_SYSCONFDIR}/retrygamma \
${PKG_SYSCONFDIR}/sizelimit \
${PKG_SYSCONFDIR}/smtpaccess.dat \
${PKG_SYSCONFDIR}/submitdelay \
${PKG_SYSCONFDIR}/usexsender \
${PKG_SYSCONFDIR}/uucpme \
${PKG_SYSCONFDIR}/uucpneighbors \
${PKG_SYSCONFDIR}/uucprewriteheaders \
${PKG_SYSCONFDIR}/warntime \
${PKG_SYSCONFDIR}/webadmin/password
do
${ECHO} "# FILE: $file . /dev/null" >> ./+FILES
done
fi
# Unconditionally remove socket files.
for sockfile in \
@COURIER_STATEDIR@/allfilters/.dupfilter \
@COURIER_STATEDIR@/allfilters/.perlfilter \
@COURIER_STATEDIR@/allfilters/dupfilter \
@COURIER_STATEDIR@/allfilters/perlfilter \
@COURIER_STATEDIR@/filters/.dupfilter \
@COURIER_STATEDIR@/filters/.perlfilter \
@COURIER_STATEDIR@/filters/dupfilter \
@COURIER_STATEDIR@/filters/perlfilter
do
if ${TEST} -f "$sockfile"; then
${ECHO} "Removing socket file:"
${ECHO} " $sockfile"
${RM} -f $sockfile
fi
done
# Unconditionally remove temporary files, but not directories
# which are part of the message queue.
#
${RM} -f @COURIER_STATEDIR@/tmp/* 2>/dev/null
;;
esac