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