File tree Expand file tree Collapse file tree 5 files changed +17
-24
lines changed
Expand file tree Collapse file tree 5 files changed +17
-24
lines changed Original file line number Diff line number Diff line change @@ -307,29 +307,13 @@ namespace {
307307}
308308EOF
309309
310- # Get SOGo IPv6 from Dig
311- SOGO_V6=$( dig +answer sogo AAAA +short)
312310
313- if [ $SOGO_V6 ]; then
314- cat << EOF > /etc/dovecot/sogo_trusted_ip.conf
315- # Autogenerated by mailcow
316- remote ${IPV4_NETWORK} .248 {
317- disable_plaintext_auth = no
318- }
319-
320- remote ${SOGO_V6} {
321- disable_plaintext_auth = no
322- }
323- EOF
324-
325- else
326311cat << EOF > /etc/dovecot/sogo_trusted_ip.conf
327312# Autogenerated by mailcow
328313remote ${IPV4_NETWORK} .248 {
329314 disable_plaintext_auth = no
330315}
331316EOF
332- fi
333317
334318# Create random master Password for SOGo SSO
335319RAND_PASS=$( cat /dev/urandom | tr -dc ' a-z0-9' | fold -w 32 | head -n 1)
Original file line number Diff line number Diff line change @@ -142,6 +142,10 @@ cat <<EOF > /var/lib/sogo/GNUstep/Defaults/sogod.plist
142142 <string>mysql://${DBUSER} :${DBPASS} @%2Fvar%2Frun%2Fmysqld%2Fmysqld.sock/${DBNAME} /sogo_acl</string>
143143 <key>SOGoIMAPServer</key>
144144 <string>imap://${IPV4_NETWORK} .250:143/?TLS=YES&tlsVerifyMode=none</string>
145+ <key>SOGoSieveServer</key>
146+ <string>sieve://${IPV4_NETWORK} .250:4190/?TLS=YES&tlsVerifyMode=none</string>
147+ <key>SOGoSMTPServer</key>
148+ <string>smtp://${IPV4_NETWORK} .253:588/?TLS=YES&tlsVerifyMode=none</string>
145149 <key>SOGoTrustProxyAuthentication</key>
146150 <string>YES</string>
147151 <key>SOGoEncryptionKey</key>
Original file line number Diff line number Diff line change 3232 // );
3333
3434 // self-signed is not trusted anymore
35- SOGoSieveServer = "sieve://dovecot:4190/?TLS=YES&tlsVerifyMode=none";
36- SOGoSMTPServer = "smtp://postfix:588/?TLS=YES&tlsVerifyMode=none";
3735 WOPort = "0.0.0.0:20000";
3836 SOGoMemcachedHost = "memcached";
3937
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ services:
168168 - phpfpm
169169
170170 sogo-mailcow :
171- image : mailcow/sogo:1.110
171+ image : mailcow/sogo:1.111
172172 environment :
173173 - DBNAME=${DBNAME}
174174 - DBUSER=${DBUSER}
@@ -215,7 +215,7 @@ services:
215215 - sogo
216216
217217 dovecot-mailcow :
218- image : mailcow/dovecot:1.18
218+ image : mailcow/dovecot:1.19
219219 depends_on :
220220 - mysql-mailcow
221221 dns :
Original file line number Diff line number Diff line change @@ -141,15 +141,22 @@ echo "Available Branches:"
141141echo " - master branch (stable updates) | default, recommended [1]"
142142echo " - nightly branch (unstable updates, testing) | not-production ready [2]"
143143sleep 1
144- read -r -p " Choose the Branch with it´s number [1/2] " branch
144+
145+ while [ -z " ${MAILCOW_BRANCH} " ]; do
146+ read -r -p " Choose the Branch with it´s number [1/2] " branch
145147 case $branch in
146148 [2])
147- git_branch =" nightly"
149+ MAILCOW_BRANCH =" nightly"
148150 ;;
149151 * )
150- git_branch =" master"
152+ MAILCOW_BRANCH =" master"
151153 ;;
152154 esac
155+ done
156+
157+ if [ ! -z " ${MAILCOW_BRANCH} " ]; then
158+ git_branch=${MAILCOW_BRANCH}
159+ fi
153160
154161git fetch --all
155162git checkout -f $git_branch
458465 echo ' $MAILCOW_UPDATEDAT=' $( date +%s) ' ;' >> data/web/inc/app_info.inc.php
459466 echo ' ?>' >> data/web/inc/app_info.inc.php
460467 echo -e " \e[33mCannot determine current git repository version...\e[0m"
461- fi
468+ fi
You can’t perform that action at this time.
0 commit comments