55
43
from lp.services.mail.interfaces import IWeaklyAuthenticatedPrincipal
56
44
from lp.services.mail.mailbox import IMailBox
57
46
from lp.services.mail.sendmail import do_paranoid_envelope_to_validation
58
47
from lp.services.mail.signedmessage import signed_message_from_string
60
58
# Match '\n' and '\r' line endings. That is, all '\r' that are not
61
59
# followed by a '\n', and all '\n' that are not preceded by a '\r'.