Open
Description
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?
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.
Metadata
Assignees
Labels
No labels
Activity