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

Block emails being sent unless conditions are met #3490

Open
CyBeRoni opened this issue Aug 1, 2023 · 1 comment
Open

Block emails being sent unless conditions are met #3490

CyBeRoni opened this issue Aug 1, 2023 · 1 comment
Assignees
Milestone

Comments

@CyBeRoni
Copy link
Contributor

CyBeRoni commented Aug 1, 2023

Zotonic version

0.x

Description

  • Motivation
    For various reasons it is often the case that people have testing/staging environments with (semi-)live data, including user accounts with real e-mail addresses. While it is necessary to be able to test functionality involving e-mail, actually sending e-mail to real people's email addresses from such environments is unwanted.

  • Proposal
    Proposed is a server-wide setting to block sending of all e-mails unless certain conditions are met. Such conditions could be:

    • The destination address matches a list (only allowing e-mails to be sent to specific e-mail addresses)
    • The destination domain matches a list
    • The e-mail was sent to the site's configured override address
    • The site's environment setting is "production"
@mworrell mworrell added this to the 1.0 milestone Aug 2, 2023
@mworrell mworrell self-assigned this Aug 2, 2023
@mworrell
Copy link
Member

mworrell commented Aug 2, 2023

I would propose that email that is not matching the allow-list would be sent to the override address (if any).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants