-
-
Notifications
You must be signed in to change notification settings - Fork 551
Ability to block domains when receiving emails #2344
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
Conversation
|
@acasajus, @cquintana92, @nguyenkims Could one of you take a look at this PR at some point and let me know if you have any questions or if anything needs to be changed? I know it's holiday season, so it can take time, just wanted to make sure this PR is not overlooked. |
|
Thanks for the MR, we'll make sure to review it! In the meantime, can you please update the MR to solve the conflicts? |
* Preserve the flags when creating the user from the partner and do not deliver if user is pending deletion * Fix test
* feat: use rye as project manager * chore: change poetry to rye for scripts * ci: avoid duplicate executions * Remove unused check and rename check * removed unused parallel tasks * Remove strategy altogether --------- Co-authored-by: Adrià Casajús <[email protected]>
* Align lock file as much as we can with the old versions * Removed poetry lock * Updated only minors * Updated only minors
* Refactor coupon management and send proper events * Refactor coupon management and send proper events * Add missing case * Updated with comments * Use model table names * renamed tablename to table * Use sqlalchemy
* Extract mailbox email change into an util * Update validation mailbox * Add tests * extract mailbox cancel * Use simple field
* feat: add request_id in log * fix: top-level import
* feat: index cleanup and add missing ones * chore: remove case in favour of greatest in query * fix: do not remove mailbox->user index * Fix test due to random ordering * Create rollback * Bad syntax * fix order also * test: fix ordering * fix: ordering on mailboxes --------- Co-authored-by: Adrià Casajús <[email protected]>
* Accept partner and sl domains * fix * Fix html * properly calculate mx_domains * Improve custom domain admin template * reformat
* Send event on account unlink * Move unlink to its own module
* chore: offer version in newrelic events * chore: send version event on startup and on other services
* Proper check of mx domains * Moved proton servers to config * Added function * Make sure we have a global dns * Typo
|
Sorry, I messed up this PR (haven't really rebased my repo on other repositories in the past). I will try to close this PR. |
This PR adds the functionality to block domains so that the user won't receive emails no matter which email was used on that domain.
It's mainly to prevent spam emails coming from the same domain but from different email addresses.
Since this feature is not tied to a specific alias/custom domain I added it to the setting page.
Let me know if there is a better place for this feature or if anything else needs to be changed.
Note: This feature was discussed here: #1344 .
Couple of screenshots:
Default view

Page once domains are blocked:
