sync enable script with stable
This commit is contained in:
parent
1ce5aebaf6
commit
1d4d0b2a27
@ -1,6 +1,6 @@
|
||||
#!/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 ]; then
|
||||
@ -9,6 +9,12 @@ if [ -f /etc/mailer.conf.postfix ]; then
|
||||
fi
|
||||
mv -f /etc/mailer.conf.postfix /etc/mailer.conf
|
||||
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
|
||||
echo "can't find /etc/mailer.conf.postfix, postfix not enabled"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user