discourse/lib/tasks
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
..
add_topic_to_quotes.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
admin.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
annotate.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
api.rake FEATURE: Hash API keys in the database (#8438) 2019-12-12 11:45:00 +00:00
assets.rake FIX: MaxMindDB download failures caused a crash on rebuild (#20737) 2023-03-20 18:23:54 +11:00
auto_annotate_models.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
autospec.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
avatars.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
backfill.thor DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
categories.rake FIX: Update category tag stats with new or deleted (#21531) 2023-05-18 12:46:44 +03:00
cdn.rake DEV: Prefer \A and \z over ^ and $ in regexes (#19936) 2023-01-20 12:52:49 -06:00
db.rake DEV: Prefer \A and \z over ^ and $ in regexes (#19936) 2023-01-20 12:52:49 -06:00
destroy.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
dev.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
docker.rake DEV: Increase docker.rake system test timeout time to match CI (#21339) 2023-05-02 12:12:03 -05:00
documentation.rake DEV: Restore the documentation format in system tests (#21471) 2023-05-12 11:13:52 +02:00
emails.rake FIX: improve mailman email parsing (#21627) 2023-05-19 10:33:48 +02:00
emoji.rake DEV: prevents `rake emoji:update` to run on prod (#21594) 2023-05-16 20:46:57 +02:00
export.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
groups.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
hashtags.rake DEV: Capture output in hashtags spec (#20773) 2023-03-23 11:47:14 +10:00
i18n.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
images.rake DEV: Upgrade to Rails 7 2022-04-28 11:51:03 +02:00
import.rake FIX: mark posted as true for post authors in the TopicUser table during ensure_consistency task (#20473) 2023-02-28 20:45:32 -04:00
incoming_emails.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
integration.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
javascript.rake FIX: display validation under custom sidebar fields (#20772) 2023-03-27 13:03:16 +11:00
log.rake FIX: whoops, linting 2020-09-03 12:10:11 +01:00
maxminddb.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
plugin.rake DEV: Enable color CI output and tweak formatting (#21527) 2023-05-12 18:22:15 +02:00
populate.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
populate.thor DEV: Correctly tag heredocs (#16061) 2022-02-28 20:50:55 +01:00
posts.rake DEV: Replace #pluck_first freedom patch with AR #pick in core (#19893) 2023-02-13 12:39:45 +08:00
profile.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
qunit.rake DEV: Enable `unless` cops 2023-02-21 10:30:48 +01:00
redis.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
release_note.rake DEV: Prefer \A and \z over ^ and $ in regexes (#19936) 2023-01-20 12:52:49 -06:00
revisions.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
rspec.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
s3.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
scheduler.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
search.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
site.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
site_settings.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
smoke_test.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
svg_icons.rake DEV: Enable `unless` cops 2023-02-21 10:30:48 +01:00
svg_sprites.rake DEV: Store theme sprites in the DB (#20501) 2023-03-14 13:11:45 -05:00
tags.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
themes.rake DEV: Wrap remote theme update in transaction (#21302) 2023-04-28 12:11:53 -05:00
topics.rake DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
turbo.rake DEV: Fix bin/turbo_rspec runtime recording (#20407) 2023-02-23 07:47:11 +10:00
typepad.thor DEV: Prefer \A and \z over ^ and $ in regexes (#19936) 2023-01-20 12:52:49 -06:00
uploads.rake DEV: Add both safe and unsafe Discourse.store.download methods (#21498) 2023-05-11 17:27:27 +08:00
users.rake clear security keys in disable_2fa rake task (#20586) 2023-03-09 15:38:59 -05:00