55
55
mailbox_path = os.path.join(mlist.data_path, 'digest.mmdf')
56
56
# Lock the mailbox and append the message.
57
57
with Mailbox(mailbox_path, create=True) as mbox:
59
59
# Calculate the current size of the mailbox file. This will not tell
60
60
# us exactly how big the resulting MIME and rfc1153 digest will
61
61
# actually be, but it's the most easily available metric to decide