15 lines
469 B
Bash
15 lines
469 B
Bash
#!/bin/sh
|
|
#
|
|
# $OpenBSD: postfix-enable,v 1.1 2000/09/25 21:02:33 jakob Exp $
|
|
|
|
if [ -f /etc/mailer.conf.postfix ]; then
|
|
if [ -f /etc/mailer.conf ]; then
|
|
mv -f /etc/mailer.conf /etc/mailer.conf.pre-postfix
|
|
echo "old /etc/mailer.conf saved as /etc/mailer.conf.pre-postfix"
|
|
fi
|
|
mv -f /etc/mailer.conf.postfix /etc/mailer.conf
|
|
echo "postfix /etc/mailer.conf enabled"
|
|
else
|
|
echo "can't find /etc/mailer.conf.postfix, postfix not enabled"
|
|
fi
|