mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-13 17:17:23 +01:00
changed quit() and put it in a while loop to keep trying. never give up.
This commit is contained in:
@@ -22,8 +22,8 @@ admin_addr = "administrator@" + env['PRIMARY_HOSTNAME']
|
||||
content = sys.stdin.read().strip()
|
||||
|
||||
# If there's nothing coming in, just exit.
|
||||
if content == "":
|
||||
sys.exit(0)
|
||||
while content == "":
|
||||
content = sys.stdin.read().strip()
|
||||
|
||||
# create MIME message
|
||||
msg = Message()
|
||||
|
||||
Reference in New Issue
Block a user