This commit is contained in:
andryyy 2020-06-04 11:38:08 +02:00
commit 60e5868dc7

View File

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