From: Jean-Marc Pigeon (Delson) Date: Thu, 26 Jun 2025 11:19:20 +0000 (-0400) Subject: Adjusting starting.sh for dovecot X-Git-Tag: tag-0.10~17 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=42e21b43955e4d2c5aae143eb4a6c1cdf2ac35d4;p=jmp%2Fmailleur Adjusting starting.sh for dovecot --- diff --git a/support/starting.sh b/support/starting.sh index 9ecc187..74bc6cb 100755 --- a/support/starting.sh +++ b/support/starting.sh @@ -104,7 +104,6 @@ BEFMAIL=/etc/dovecot.conf.before.$APPNAME DOVMAIL=/etc/$APPNAME/dovecot/dovecot.conf if [ ! -f $BEFMAIL ] ; then - mv $DOVCONF $BEFMAIL ln -nsf $DOVMAIL $DOVCONF ln -nsf \ /etc/$APPNAME/dovecot/dovecot-2.0-auth-sql.conf \ @@ -113,6 +112,7 @@ if [ ! -f $BEFMAIL ] ; then /etc/$APPNAME/dovecot-2.0-auth-ldap.conf \ /etc/$APPNAME/dovecot-auth-ldap.conf cat /etc/$APPNAME/dovecot/dovecot-auth.conf >> $DOVCONF + mv $DOVCONF $BEFMAIL fi }