]> SAFE projects GIT repository - jmp/mailleur/commitdiff
Fix dovecot.conf problem
authorJean-Marc Pigeon (Delson) <jmp@safe.ca>
Thu, 26 Jun 2025 11:57:18 +0000 (07:57 -0400)
committerJean-Marc Pigeon (Delson) <jmp@safe.ca>
Thu, 26 Jun 2025 11:57:18 +0000 (07:57 -0400)
support/starting.sh

index 4134b3aedcb9ee448860003368a675e92e6ba295..8949acf0dbfdfab7c89924d444e5d7f76e913e4f 100755 (executable)
@@ -104,7 +104,6 @@ BEFMAIL=/etc/dovecot/dovecot.conf.before.$APPNAME
 DOVMAIL=/etc/$APPNAME/dovecot/dovecot.conf
 
 if [ ! -f $BEFMAIL ] ; then
-  ln -nsf $DOVMAIL $DOVCONF
   ln -nsf                                              \
        /etc/$APPNAME/dovecot/dovecot-2.0-auth-sql.conf \
        /etc/$APPNAME/dovecot/dovecot-auth-sql.conf
@@ -118,6 +117,7 @@ if [ ! -f $BEFMAIL ] ; then
   cat  /etc/$APPNAME/dovecot/dovecot-auth.conf >> $DOVCONF
 
   mv $DOVCONF $BEFMAIL
+  ln -nsf $DOVMAIL $DOVCONF
   fi
 }