Bugfix when running on postfix

This commit is contained in:
yo 2020-12-15 20:37:02 +01:00
parent 1ff1ae2921
commit 9966b7653c

View File

@ -236,6 +236,8 @@ class Mail(object):
""" """
if 'opensmtpd' in CONFIG['core']['smtpd_type']: if 'opensmtpd' in CONFIG['core']['smtpd_type']:
is_postfix = False is_postfix = False
else:
is_postfix = True
# Reset parsing error message # Reset parsing error message
self.parse_error = "" self.parse_error = ""