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

Auto Release for certain domains #274

Closed
gshep86 opened this issue Apr 4, 2024 · 7 comments
Closed

Auto Release for certain domains #274

gshep86 opened this issue Apr 4, 2024 · 7 comments
Labels
enhancement New feature or request

Comments

@gshep86
Copy link

gshep86 commented Apr 4, 2024

Would it be possible to get a feature to auto release emails for certain domains or addresses?

@axllent
Copy link
Owner

axllent commented Apr 5, 2024

Possibly yes. How are you currently configuring the SMTP relay, via a config or environment variables?

@gshep86
Copy link
Author

gshep86 commented Apr 5, 2024

via config

@axllent
Copy link
Owner

axllent commented Apr 6, 2024

I will look into adding this some time in the near future.

@axllent axllent added the enhancement New feature or request label Apr 6, 2024
@axllent
Copy link
Owner

axllent commented Apr 16, 2024

I have been giving this some thought and a feature like this will potentially introduce complications:

  1. Which domains or addresses do you mean - the recipients, the sender, or both?
  2. If there is a match of the recipients, do all the other recipients get a copy too, or just those matching the domains specified (this would actually be a regular expression)?

The only way I think this could safely work is if it matches only the recipients (not the sender), and only those matching recipients receive a copy regardless of how many other recipients are included.

Is this what you mean?

@gshep86
Copy link
Author

gshep86 commented Apr 17, 2024

We would like to whitelist the recipients. I think the way you described it would work best, where only those matching recipients would receive have the email automatically released. Thanks!

@axllent
Copy link
Owner

axllent commented Apr 20, 2024

I've just released this feature in v1.17.0 (see release & website link for a brief explanation). Please let me know if this does what you expect? Thanks.

@gshep86
Copy link
Author

gshep86 commented Apr 25, 2024

It's working great, thank you!

@axllent axllent closed this as completed Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants