sync enable script with stable

This commit is contained in:
jakob 2001-11-10 23:33:45 +00:00
parent 1ce5aebaf6
commit 1d4d0b2a27

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# #
# $OpenBSD: postfix-enable,v 1.1 2000/09/25 21:02:33 jakob Exp $ # $OpenBSD: postfix-enable,v 1.2 2001/11/10 23:33:45 jakob Exp $
if [ -f /etc/mailer.conf.postfix ]; then if [ -f /etc/mailer.conf.postfix ]; then
if [ -f /etc/mailer.conf ]; then if [ -f /etc/mailer.conf ]; then
@ -9,6 +9,12 @@ if [ -f /etc/mailer.conf.postfix ]; then
fi fi
mv -f /etc/mailer.conf.postfix /etc/mailer.conf mv -f /etc/mailer.conf.postfix /etc/mailer.conf
echo "postfix /etc/mailer.conf enabled" echo "postfix /etc/mailer.conf enabled"
echo ""
echo "NOTE: do not forget to add sendmail_flags=\"-bd -q30m\" to"
echo " /etc/rc.conf.local to startup postfix correctly."
echo ""
echo "NOTE: do not forget to remove the \"sendmail clientmqueue runner\""
echo " from root's crontab."
else else
echo "can't find /etc/mailer.conf.postfix, postfix not enabled" echo "can't find /etc/mailer.conf.postfix, postfix not enabled"
fi fi