discourse/spec/fixtures/emails
Régis Hanol db9d998de3
FIX: improve mailman email parsing (#21627)
https://meta.discourse.org/t/improving-mailman-email-parsing/253041

When mirroring a public mailling list which uses mailman, there were some cases where the incoming email was not associated to the proper user.

As it happens, for various (undertermined) reasons, the email from the sender is often not in the `From` header but can be in any of the following headers: `Reply-To`, `CC`, `X-Original-From`, `X-MailFrom`.

It might be in other headers as well, but those were the ones we found the most reliable.
2023-05-19 10:33:48 +02:00
..
apple_mail_attachment.eml
attached_eml_file.eml
attached_pdf_file.eml
attached_rb_file.eml
attached_txt_file.eml
attached_txt_file_2.eml
auto_generated_allowlisted.eml
auto_generated_header.eml
auto_generated_precedence.eml
auto_generated_unblocked.eml
bad_destinations.eml
blocklist_allowlist_email.eml
body_with_image.eml
bounced_email.eml
bounced_email_multiple_status_codes.eml
cc.eml
chinese_reply.eml
dmarc_fail.eml
email_reply_1.eml
email_reply_2.eml
email_reply_3.eml
email_reply_4.eml
email_reply_like.eml
email_reply_staged.eml
email_reply_to_group_email_username.eml FEATURE: Use group SMTP settings for sending user notification emails (initial) (#13220) 2021-06-03 14:47:32 +10:00
email_to_group_email_username_1.eml FIX: Link up reply to post correctly when emailing group (#13339) 2021-06-10 15:28:50 +10:00
email_to_group_email_username_2.eml FIX: Link up reply to post correctly when emailing group (#13339) 2021-06-10 15:28:50 +10:00
email_to_group_email_username_2_as_unknown_sender.eml FIX: Link up reply to post correctly when emailing group (#13339) 2021-06-10 15:28:50 +10:00
encoded_display_name.eml
encoded_filename.eml DEV: Update mail and use fork (#10639) 2021-02-18 20:15:02 +02:00
encoding_undefined_conversion.eml FIX: Catch UndefinedConversionError for inbound emails (#13000) 2021-05-10 14:26:23 +10:00
existing_user.eml
forwarded_by_group_to_inbox.eml FIX: Capture CC addresses for forwarded emails (#14254) 2021-09-07 08:46:28 +10:00
forwarded_by_group_to_inbox_double_cc.eml FIX: Capture CC addresses for forwarded emails (#14254) 2021-09-07 08:46:28 +10:00
forwarded_email_1.eml
forwarded_email_2.eml
forwarded_email_3.eml
forwarded_email_4.eml
forwarded_email_to_category.eml
from_reply_by_email_address.eml
from_the_future.eml
gmail_html_reply.eml
group_existing_user.eml
hard_bounce_via_verp.eml
hard_bounce_via_verp_2.eml
hebrew_reply.eml
html_reply.eml
ignored.eml
inactive_sender.eml
inline_image.eml
inline_image_2.eml FIX: Gracefully handle inline images in emails (#12855) 2021-04-29 10:17:33 +03:00
inline_mixed_replies.eml
inline_reply.eml
invalid_from_1.eml
invalid_from_2.eml
iphone_signature.eml
like.eml
long_embedded_email_headers.eml FIX: Parse address lists in embedded emails (#14514) 2021-10-06 15:07:29 +03:00
mailinglist.eml
mailinglist_dmarc_fail.eml
mailinglist_reply.eml
mailinglist_short_message.eml
mailinglist_unsubscribe.eml
mailman_1.eml FIX: improve mailman email parsing (#21627) 2023-05-19 10:33:48 +02:00
mailman_2.eml FIX: improve mailman email parsing (#21627) 2023-05-19 10:33:48 +02:00
mailman_3.eml FIX: improve mailman email parsing (#21627) 2023-05-19 10:33:48 +02:00
mailman_4.eml FIX: improve mailman email parsing (#21627) 2023-05-19 10:33:48 +02:00
missing_message_id.eml
mute.eml
new_user.eml
no_body.eml
no_body_with_image.eml
no_date.eml
no_from.eml
no_subject.eml
null_byte_in_subject.eml
old_destination.eml
on_date_contact_wrote.eml
original_message.eml
paragraphs.eml DEV: Correct typos and spelling mistakes (#12812) 2021-05-21 11:43:47 +10:00
previous_replies.eml
previous_replies_de.eml FIX: Remove markers from all translated languages (#14081) 2021-08-18 19:42:04 +03:00
quirks_exchange_xars.eml FIX: email receiver should ignore x-auto-response-suppress 2023-05-03 12:20:00 -04:00
readonly.eml
removed_attachments.eml
reply_above.eml FIX: Remove 'reply above line' marker (#13927) 2021-08-03 20:08:19 +03:00
reply_above_de.eml FIX: Remove markers from all translated languages (#14081) 2021-08-18 19:42:04 +03:00
reply_and_forwarded.eml
reply_to_different_to_from.eml FIX: Use reply-to address for incoming emails if present (#13896) 2021-08-03 08:01:17 +10:00
reply_to_different_to_from_no_x_original.eml FIX: Use reply-to address for incoming emails if present (#13896) 2021-08-03 08:01:17 +10:00
reply_to_different_to_from_quoted_display_name.eml FIX: improve mailman email parsing (#21627) 2023-05-19 10:33:48 +02:00
reply_to_different_to_from_x_original_different.eml FIX: Use reply-to address for incoming emails if present (#13896) 2021-08-03 08:01:17 +10:00
reply_to_whitespaces.eml FIX: Use addresses to compare email header (#14509) 2021-10-05 12:42:19 +03:00
reply_user_matching.eml
reply_user_not_matching.eml
reply_user_not_matching_but_known.eml
reply_with_8bit_encoding.eml
reply_with_weird_encoding.eml
screened_email.eml
silenced_sender.eml
soft_bounce_via_verp.eml
spam_x_ses_spam_verdict.eml
spam_x_spam_flag.eml
spam_x_spam_status.eml
staged_reply_restricted.eml
staged_sender.eml
text_and_html_reply.eml
text_reply.eml
tl3_user.eml
tl4_user.eml
too_many_mentions.eml
too_small.eml
track.eml
unparsable_email_addresses.eml
unsubscribe_body.eml
unsubscribe_new_user.eml
unsubscribe_subject.eml
user_not_found.eml
verp_bounce_different_final_recipient.eml
watch.eml