docs: document Mailpit plus-address auto-tagging and how to disable it (#8222) [skip ci]#8222
Conversation
|
Download the artifacts for this pull request:
See Testing a PR. |
|
Hi @maks-oleksyuk - Can you say more about why this is important to you, and why change DDEV itself instead if just doing in your affected project? |
|
@rfay, during testing, it looks like this, and it's a little confusing what these tags are and where they come from. I turned it off for me using the env variable as you wrote, but I think this fix will also help prevent cases like mine.
|
|
But, since it's changing the default behavior, it might also adversely affect somebody else. |
|
Super interesting! |
|
Well, I don't think it will have much of an impact on anyone. On the contrary, at first I didn't understand where these tags came from and what I was doing wrong (since I was testing notifications) And this is very non-obvious behavior when creating tags, and it doesn't affect the content of the letter itself or anything else |
|
Agree with @rfay that changing the default settings of Mailpit might be even more confusing for other users. |
There was a problem hiding this comment.
BTW, it can be set globally in the global user's config for all projects ($HOME/.ddev/global_config.yaml), if those tags are distracting:
ddev config global --web-environment-add=MP_TAGS_DISABLE=plus-addressesI'm not sure about disabling this feature for everyone, since some people may benefit from it.
|
What do you think about turning this PR into a docs PR? You could update https://docs.ddev.com/en/stable/users/usage/developer-tools/#email-capture-and-review-mailpit and add the example I gave above about how to control this behavior globally. See https://github.com/ddev/ddev/blob/main/docs/content/users/usage/developer-tools.md?plain=1#L126 |
|
@stasadev, okay, that's a good idea. I'll update it when I get a chance, but for now I'll mark it as a draft |
|
Thanks for the contribution. A little note for the docs in a future PR will be welcome. Closing this for now. |
|
@rfay, why was it closed? I added a commit that includes a note in the documentation—did I do something wrong? |
|
@maks-oleksyuk, could you update the title and the first post to follow our template. Right now, they don't reflect what was done here. |
|
I expected you to open a new PR with appropriate information, since the target changed. |
plus-address auto-tagging and how to disable it
e10ac0c to
d103bad
Compare
plus-address auto-tagging and how to disable itplus-address auto-tagging and how to disable it (#8222) [skip ci]

Adds documentation explaining Mailpit's auto-tagging behavior and provides instructions on how to disable it using the
MP_TAGS_DISABLE=plus-addressesenvironment variable.Includes both global and per-project configuration examples.
Manual Testing Instructions
user+1@example.comAutomated Testing Overview
No automated tests were added, as this PR only updates documentation.
Release/Deployment Notes
No impact on runtime behavior. Documentation-only change.