[Dovecot] Minor: Fix EHLO name
parent
2e87f6ac2d
commit
676ce199f3
|
@ -74,7 +74,7 @@ try:
|
||||||
msg.attach(text_part)
|
msg.attach(text_part)
|
||||||
msg.attach(html_part)
|
msg.attach(html_part)
|
||||||
msg['To'] = rcpt
|
msg['To'] = rcpt
|
||||||
server = smtplib.SMTP('postfix', 588, 'quarantine')
|
server = smtplib.SMTP('postfix', 588, 'quotanotification')
|
||||||
server.ehlo()
|
server.ehlo()
|
||||||
server.sendmail(msg['From'], str(rcpt), msg.as_string())
|
server.sendmail(msg['From'], str(rcpt), msg.as_string())
|
||||||
server.quit()
|
server.quit()
|
||||||
|
@ -91,4 +91,4 @@ except:
|
||||||
try:
|
try:
|
||||||
sys.stderr.close()
|
sys.stderr.close()
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue