We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Many email setups deliver email to user+tag@domain to the inbox of user@domain. As said user, how can I extract that tag to a notmuch tag?
user+tag@domain
user@domain
tag
My first attempt was:
[HeaderMatchingFilter.1] header = Delivered-To pattern = (?P<user>[^\+]+)\+(?P<box>[^@]+)@(?P<domain>.*) tags = +{box}
But it turns out many emails have many Delivered-To headers, and I only really want to match the first one.
Delivered-To
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Many email setups deliver email to
user+tag@domain
to the inbox ofuser@domain
.As said user, how can I extract that
tag
to a notmuch tag?My first attempt was:
But it turns out many emails have many
Delivered-To
headers, and I only really want to match the first one.The text was updated successfully, but these errors were encountered: