zulip/zerver/management/commands
Emilio López d3c841d587 email_mirror: also check for Envelope-To
After subscribing a stream email address to a Mailman email list
and receiving a message from it (using the polling configuration
with an Exim + Dovecot mailserver), the following error message
is emitted by Zulip:

    Logger zerver.lib.email_mirror, from module zerver.lib.email_mirror line 77:
    Error generated by Anonymous user (not logged in) on zulip deployment

    Sender: "Foo Bar" <foo@example.com>
    To: No recipient found
    Missing recipient in mirror email

This is because the To: header on the received email corresponds
to the email list, and there are no other headers to indicate the
final recipient, apart from the "Envelope-To" header added by
Exim. To resolve this problem, the commit adds "Envelope-To" to
the list of headers to check for a match.
2020-03-25 16:28:46 -07:00
..
__init__.py
add_users_to_mailing_list.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
add_users_to_streams.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
archive_messages.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
backup.py management: Make backup command work when DB is not in localhost. 2020-02-19 12:41:05 -08:00
bankrupt_users.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
bulk_change_user_name.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
change_user_email.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
check_redis.py rate_limit: Move functions called by external code to RateLimitedObject. 2020-03-22 18:42:35 -07:00
checkconfig.py install: Remove references to "Zulip Voyager". 2020-01-30 12:40:41 -08:00
compilemessages.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
convert_gitter_data.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
convert_hipchat_data.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
convert_mattermost_data.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
convert_slack_data.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
create_default_stream_groups.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
create_large_indexes.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
create_realm_internal_bots.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
create_stream.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
create_user.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
deactivate_realm.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
deactivate_user.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
delete_old_unclaimed_attachments.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
deliver_email.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
deliver_scheduled_messages.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
dump_messages.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
email_mirror.py email_mirror: Rewrite docstrings to focus on current reality. 2020-01-30 12:39:45 -08:00
enqueue_digest_emails.py management: Remove unused imports in management commands. 2019-02-02 17:12:36 -08:00
enqueue_file.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
export.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
export_single_user.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
export_usermessage_batch.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
fill_memcached_caches.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
fix_unreads.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
generate_invite_links.py refactor: Extract zerver/lib/email_validation.py. 2020-03-06 11:53:22 -08:00
generate_multiuse_invite_link.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
generate_realm_creation_link.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
get_migration_status.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
import.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
knight.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
list_realms.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
logout_all_users.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
makemessages.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
merge_streams.py models: Delete get_stream_recipient function and its uses. 2020-02-18 10:49:14 -08:00
print_email_delivery_backlog.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
process_queue.py dependencies: Upgrade to Django 2.2.10. 2020-02-13 16:27:26 -08:00
purge_queue.py dependencies: Remove WebSockets system for sending messages. 2020-01-14 22:34:00 -08:00
query_ldap.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
rate_limit.py rate_limit: Move functions called by external code to RateLimitedObject. 2020-03-22 18:42:35 -07:00
reactivate_realm.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
realm_domain.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
realm_filters.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
register_server.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
remove_users_from_stream.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
rename_stream.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
restore_messages.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
runtornado.py tornado: Put port in logging_data before setup_event_queue in runtornado. 2020-03-24 10:25:01 -07:00
scrub_realm.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
send_custom_email.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
send_password_reset_email.py emails: Translate from_name of account security emails. 2020-02-18 17:45:33 -08:00
send_realm_reactivation_email.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
send_stats.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
send_test_email.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
send_to_email_mirror.py email_mirror: also check for Envelope-To 2020-03-25 16:28:46 -07:00
send_webhook_fixture_message.py python: Convert json.loads(f.read()) to json.load(f). 2020-03-24 10:46:32 -07:00
set_message_flags.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
show_admins.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
show_unreads.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
soft_deactivate_users.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
sync_ldap_user_data.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
transfer_uploads_to_s3.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00
turn_off_digests.py python: Sort migrations/management command imports with isort. 2020-01-14 13:07:47 -08:00