2007-10-15 17:37:13 +02:00
|
|
|
# $NetBSD: DEINSTALL,v 1.2 2007/10/15 15:37:13 jlam Exp $
|
First cut at packaging the MTA and mailing list components of
courier-0.53.1 as mail/courier-mta.
The Courier mail transfer agent (MTA) is a modular multiprotocol mail
server that's designed to strike a balance between reasonable performance,
flexibility and features.
This package differs from traditional courier-mta packages in that
the webmail, imap/pop3, and maildrop components are not included
because they are supplied by the mail/sqwebmail, mail/courier-imap,
and mail/maildrop packages, respectively. When Courier-MTA is installed
together with Courier-IMAP and SqWebMail, they form an integrated
mail/groupware server suite that provides ESMTP, IMAP, POP3, webmail,
and mailing list services within a single, consistent, framework. A
web-based administration and configuration tool is included for
comprehensive configuration of the entire Courier software suite.
Many thanks to Yarema <yds@CoolRat.org> whose Courier port for FreeBSD
was an invaluable reference.
2006-04-28 20:10:21 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2007-10-15 17:37:13 +02:00
|
|
|
# Unconditionally remove temporary files, but not directories
|
|
|
|
# which are part of the message queue.
|
|
|
|
#
|
|
|
|
${RM} -f @COURIER_STATEDIR@/tmp/* 2>/dev/null
|
First cut at packaging the MTA and mailing list components of
courier-0.53.1 as mail/courier-mta.
The Courier mail transfer agent (MTA) is a modular multiprotocol mail
server that's designed to strike a balance between reasonable performance,
flexibility and features.
This package differs from traditional courier-mta packages in that
the webmail, imap/pop3, and maildrop components are not included
because they are supplied by the mail/sqwebmail, mail/courier-imap,
and mail/maildrop packages, respectively. When Courier-MTA is installed
together with Courier-IMAP and SqWebMail, they form an integrated
mail/groupware server suite that provides ESMTP, IMAP, POP3, webmail,
and mailing list services within a single, consistent, framework. A
web-based administration and configuration tool is included for
comprehensive configuration of the entire Courier software suite.
Many thanks to Yarema <yds@CoolRat.org> whose Courier port for FreeBSD
was an invaluable reference.
2006-04-28 20:10:21 +02:00
|
|
|
;;
|
|
|
|
esac
|