mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-11-17 09:46:08 +01:00
Some corrections.
The test virus message is well detected by Amavis but not the spam one. see #187
This commit is contained in:
@@ -228,7 +228,6 @@ def __sendmail(sender, rcpt, msgstring, server='localhost', port=25):
|
||||
"""
|
||||
try:
|
||||
s = smtplib.SMTP(server, port)
|
||||
s.connect()
|
||||
s.sendmail(sender, [rcpt], msgstring)
|
||||
s.quit()
|
||||
except smtplib.SMTPException, e:
|
||||
|
||||
Reference in New Issue
Block a user