stash
All checks were successful
/ test (push) Successful in 52s
/ deploy (push) Successful in 4m38s

This commit is contained in:
j3d1 2024-11-18 02:02:51 +01:00
parent 7443e27e68
commit c19ef0991b

View file

@ -200,7 +200,10 @@ def receive_email(envelope, log=None):
subject = "No subject" subject = "No subject"
subject = unescape_and_decode_quoted_printable(subject) subject = unescape_and_decode_quoted_printable(subject)
subject = unescape_and_decode_base64(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) 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, target_event) active_issue_thread, new = find_active_issue_thread(header_in_reply_to, recipient, subject, target_event)
@ -258,6 +261,7 @@ class LMTPHandler:
log.setLevel(logging.DEBUG) log.setLevel(logging.DEBUG)
log.info('Message from %s' % envelope.mail_from) log.info('Message from %s' % envelope.mail_from)
log.info('Message for %s' % envelope.rcpt_tos) log.info('Message for %s' % envelope.rcpt_tos)
log.info('CTX for {}, {}'.format(server, session))
log.info('Message data:\n') log.info('Message data:\n')
content = None content = None