fixed debug changes
This commit is contained in:
parent
a098e63c9c
commit
a36f4f2659
|
@ -135,6 +135,7 @@ class CustomSMTPServer(smtpd.SMTPServer):
|
|||
json.dump(savedata, outfile)
|
||||
|
||||
#print edata
|
||||
cleanup()
|
||||
return
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
@ -159,9 +160,6 @@ if __name__ == '__main__':
|
|||
if("CLEANUP" in Config.sections() and "delete_older_than_days" in Config.options("CLEANUP")):
|
||||
DELETE_OLDER_THAN_DAYS = (Config.get("CLEANUP","DELETE_OLDER_THAN_DAYS").lower() == "true")
|
||||
|
||||
cleanup()
|
||||
quit()
|
||||
|
||||
print "[i] Starting Mailserver on port",port
|
||||
|
||||
server = CustomSMTPServer(('0.0.0.0', port), None) # use your public IP here
|
||||
|
|
Loading…
Reference in a new issue