Some corrections.

The test virus message is well detected by Amavis but not the spam one.

see #187
This commit is contained in:
Antoine Nguyen
2011-11-09 09:55:53 +01:00
parent 07f6f3e91e
commit beb861e22d
3 changed files with 2 additions and 2 deletions
-1
View File
@@ -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: