bind email handler to 127.0.0.1 instead of 0.0.0.0

This commit is contained in:
Son NK 2020-08-16 14:51:40 +02:00
parent 98a9e88ce4
commit d4a6269e43
1 changed files with 1 additions and 1 deletions

View File

@ -1258,7 +1258,7 @@ class MailHandler:
if __name__ == "__main__":
controller = Controller(MailHandler(), hostname="0.0.0.0", port=20381)
controller = Controller(MailHandler(), hostname="127.0.0.1", port=20381)
controller.start()
LOG.d("Start mail controller %s %s", controller.hostname, controller.port)