real hotfix mailserver.py

Sorry for the last broken patch, that should really fix the issue now.
This commit is contained in:
EOCommunity 2021-04-06 22:54:06 +02:00 committed by GitHub
parent 5bc61414d0
commit 658a8f21a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,7 +89,8 @@ class CustomSMTPServer(smtpd.SMTPServer):
filenamebase = str(int(round(time.time() * 1000)))
for em.lower() in rcpttos:
for em in rcpttos:
em = em.lower()
if not os.path.exists("../data/"+em):
os.mkdir( "../data/"+em, 0755 )