[GH-ISSUE #274] Auto Release for certain domains #181

Closed
opened 2026-03-15 13:03:55 +03:00 by kerem · 7 comments
Owner

Originally created by @gshep86 on GitHub (Apr 4, 2024).
Original GitHub issue: https://github.com/axllent/mailpit/issues/274

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

Originally created by @gshep86 on GitHub (Apr 4, 2024). Original GitHub issue: https://github.com/axllent/mailpit/issues/274 Would it be possible to get a feature to auto release emails for certain domains or addresses?
kerem 2026-03-15 13:03:55 +03:00
Author
Owner

@axllent commented on GitHub (Apr 5, 2024):

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

<!-- gh-comment-id:2039426862 --> @axllent commented on GitHub (Apr 5, 2024): Possibly yes. How are you currently configuring the SMTP relay, via a config or environment variables?
Author
Owner

@gshep86 commented on GitHub (Apr 5, 2024):

via config

<!-- gh-comment-id:2040071427 --> @gshep86 commented on GitHub (Apr 5, 2024): via config
Author
Owner

@axllent commented on GitHub (Apr 6, 2024):

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

<!-- gh-comment-id:2041180049 --> @axllent commented on GitHub (Apr 6, 2024): I will look into adding this some time in the near future.
Author
Owner

@axllent commented on GitHub (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?

<!-- gh-comment-id:2058191726 --> @axllent commented on GitHub (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?
Author
Owner

@gshep86 commented on GitHub (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!

<!-- gh-comment-id:2061875942 --> @gshep86 commented on GitHub (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!
Author
Owner

@axllent commented on GitHub (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.

<!-- gh-comment-id:2067658912 --> @axllent commented on GitHub (Apr 20, 2024): I've just released this feature in [v1.17.0](https://github.com/axllent/mailpit/releases/tag/v1.17.0) (see release & website link for a brief explanation). Please let me know if this does what you expect? Thanks.
Author
Owner

@gshep86 commented on GitHub (Apr 25, 2024):

It's working great, thank you!

<!-- gh-comment-id:2077426659 --> @gshep86 commented on GitHub (Apr 25, 2024): It's working great, thank you!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mailpit#181
No description provided.