diff --git a/core/mail/protocol.py b/core/mail/protocol.py index 926e8c2..fb8918e 100644 --- a/core/mail/protocol.py +++ b/core/mail/protocol.py @@ -200,7 +200,10 @@ def receive_email(envelope, log=None): subject = "No subject" subject = unescape_and_decode_quoted_printable(subject) subject = unescape_and_decode_base64(subject) + log.info("search for {}".format(recipient)) + log.info("known {}".format(["{} -> {}".format(x.address, x.event.slug) for x in EventAddress.objects.all()])) target_event = find_target_event(recipient) + log.info("found {}".format(target_event)) active_issue_thread, new = find_active_issue_thread(header_in_reply_to, recipient, subject)