Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email validation: graylist handling #2671

Open
vohmar opened this issue Jul 10, 2024 · 2 comments · May be fixed by #2674
Open

Email validation: graylist handling #2671

vohmar opened this issue Jul 10, 2024 · 2 comments · May be fixed by #2674
Assignees

Comments

@vohmar
Copy link
Contributor

vohmar commented Jul 10, 2024

Email validator has smtp check that enable quering email server for the existence of a specific mailbox. Some email servers have graylist protection that denies the first request.

Need to add recheck feature to the validator

  • if smtp server responds with 4xx reply codes ("please call back later"), as defined in the Simple Mail Transfer Protocol (SMTP) (https://datatracker.ietf.org/doc/html/rfc5321#section-4.2.1). Apparently the error code and message are not standardised. Codes starting with 4 indicate temporary problem and thus the action should be queued for retrying
  • how many times and how quickly to retry? When a mail server is greylisted, the duration of time between the initial delay and the retransmission is variable; the greylisting server has no control or visibility of the delay. SMTP says the retry interval should be at least 30 minutes, while the give-up time needs to be at least 4–5 days;
@OlegPhenomenon OlegPhenomenon linked a pull request Jul 17, 2024 that will close this issue
@vohmar
Copy link
Contributor Author

vohmar commented Aug 16, 2024

The process:

  1. email validation smtp check returns temporary error - email address get grey-listed status
  2. new check is scheduled (variable intervals minimum 30 minutes for up to 5 days)
  3. when the last check fails - grey-list check failed status is set to the email address
  4. force delete status is set to the domains names related to the failed address
  5. next daily check resulting with the same temporary error will keep the failed status and will not trigger new grey list handling process

@vohmar
Copy link
Contributor Author

vohmar commented Sep 30, 2024

please add this functionality to our email validator so it can handle the gray list smtp servers properly on smtp level email validation checks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: To do
Development

Successfully merging a pull request may close this issue.

2 participants