Skip to content

How to custom INVALID_EMAIL_ADDRESS_PATTERN? #13541

@shiny

Description

@shiny

image

I've noticed that qq.com was block by the following code so I can't Invite that mail address.

# block domains which are generally used by spammers -- keep this configurable in case an onpremise
# install wants to allow it
INVALID_EMAIL_ADDRESS_PATTERN = re.compile(r'\@qq\.com$', re.I)

Related to #10152

But it's the most popular email service in China for personal usage.
Is it possible to disable this settings?

Activity

markstory

markstory commented on Jun 5, 2019

@markstory
Member

If you're running sentry on-premise you can modify the code and restart the web process.

added a commit that references this issue on Jun 5, 2019
4542e59
shiny

shiny commented on Jun 5, 2019

@shiny
Author

If you're running sentry on-premise you can modify the code and restart the web process.

Thanks, I'm running sentry in the Docker container, modification can solves my problem.

Another point that the strategy is unfair for hundred million qq mail users, there are large amount developers, not all of them are spammer, please consider.

markstory

markstory commented on Jun 5, 2019

@markstory
Member

While there are lots of legitimate users using qq.com, we've received significant volumes of abusive traffic in the past from those addresses as well, which is what resulted in the domain ban in the first place.

xiaotian45123

xiaotian45123 commented on Jun 18, 2019

@xiaotian45123

图片

我注意到qq.com被以下代码阻止,所以我不能邀请那个邮件地址。

中通常使用垃圾邮件发送者嵌段域-保持这种配置的情况下一个onpremise安装要允许它
INVALID_EMAIL_ADDRESS_PATTERN  = re.compile( [R “ \ @ QQ 。\ COM $ ”,如re.I

#10152相关

但它是中国最受欢迎的个人使用电子邮件服务。
是否可以禁用此设置?

你处理好这个问题没有 ?

locked and limited conversation to collaborators on Dec 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @markstory@shiny@xiaotian45123

        Issue actions

          How to custom INVALID_EMAIL_ADDRESS_PATTERN? · Issue #13541 · getsentry/sentry