[Dovecot] Fix quarantine notificatin script

[Compose] Update Dovecot image
This commit is contained in:
andryyy 2019-02-08 10:06:28 +01:00
parent 36ad9dbf78
commit 4e97da197e
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ time_now = int(time.time())
def query_mysql(query, headers = True, update = False):
while True:
try:
cnx = mysql.connector.connect(unix_socket = '/var/run/mysqld/mysqld.sock', user='mailcow', passwd='9S6jd31ijEytZE9lQ8sWOxK34tg5', database='mailcow', charset="utf8")
cnx = mysql.connector.connect(unix_socket = '/var/run/mysqld/mysqld.sock', user='__DBUSER__', passwd='__DBPASS__', database='__DBNAME__', charset="utf8")
except Exception as ex:
print '%s - trying again...' % (ex)
time.sleep(3)

View File

@ -164,7 +164,7 @@ services:
- sogo
dovecot-mailcow:
image: mailcow/dovecot:1.60
image: mailcow/dovecot:1.61
build: ./data/Dockerfiles/dovecot
cap_add:
- NET_BIND_SERVICE