openbsd-ports/mail/postfix/stable/files/postfix-disable
jakob b675939442 move to postfix release 2.1 and snapshot 2.2
- enable SMTP over SSL/TLS by default
- enable IPv6 by default
- enable PRE by default
- keep sasl2/ldap/mysql/pgsql as flavours
2004-04-25 10:36:39 +00:00

17 lines
489 B
Bash

#!/bin/sh
#
# $OpenBSD: postfix-disable,v 1.3 2004/04/25 10:36:40 jakob Exp $
if [ ! -f /etc/mailer.conf.pre-postfix ]; then
echo "can't find /etc/mailer.conf.pre-postfix, postfix not disabled"
exit 1
fi
if [ -f /etc/mailer.conf ]; then
mv -f /etc/mailer.conf /etc/mailer.conf.postfix
mv -f /etc/mailer.conf.pre-postfix /etc/mailer.conf
echo "postfix mailer.conf disabled, old mailer.conf enabled"
else
echo "can't find /etc/mailer.conf, postfix not disabled"
fi