mirror of
https://github.com/axllent/mailpit.git
synced 2026-04-26 08:45:54 +03:00
[GH-ISSUE #284] regex case insensitive #187
Labels
No labels
awaiting feedback
bug
docker
documentation
enhancement
github_actions
invalid
pull-request
question
stale
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/mailpit#187
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @q16marvin on GitHub (Apr 25, 2024).
Original GitHub issue: https://github.com/axllent/mailpit/issues/284
Hi,
first you make a great job... mailpit is awesome!
2 small things, can we make regex case insensitve?
currently it would only work like this:
MP_SMTP_RELAY_ALLOWED_RECIPIENTS: "@example\.de$|@EXAMPLE\.DE$"
and btw i musst set escape this "" with "\"... otherwise docker will not except it :)
Thx!
@axllent commented on GitHub (Apr 25, 2024):
Thanks, I'm glad you like it @q16marvin!
Actually you can set this yourself
MP_SMTP_RELAY_ALLOWED_RECIPIENTS: '(?i)@example\.de$'(I think a single quote works in a docker-compose file). Regular expressions are a little different in Go - see https://regex101.com/r/JUehoJ/1