BUGFIX : All recipients were added to each mail when no error (mails in hold)

This commit is contained in:
yo 2020-12-28 13:05:51 +01:00
parent 2d4dee498d
commit 597b2ef4b5

View File

@ -561,7 +561,8 @@ class PostqueueStore(object):
mail = self.MailClass(fields[0], size=fields[1], mail = self.MailClass(fields[0], size=fields[1],
date=date, date=date,
sender=fields[-1]) sender=fields[-1],
recipients=[])
self.mails.append(mail) self.mails.append(mail)
else: else:
# Email address validity check can be tricky. RFC3696 talks # Email address validity check can be tricky. RFC3696 talks