Răsfoiți Sursa

Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized

andryyy 5 ani în urmă
părinte
comite
60e5868dc7
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      data/Dockerfiles/dovecot/quarantine_notify.py

+ 1 - 0
data/Dockerfiles/dovecot/quarantine_notify.py

@@ -70,6 +70,7 @@ def notify_rcpt(rcpt, msg_count, quarantine_acl):
   text = html2text.html2text(html)
   count = 0
   while count < 15:
+    count += 1
     try:
       server = smtplib.SMTP('postfix', 590, 'quarantine')
       server.ehlo()