mail2most
mail2most copied to clipboard
"To" filter doesn't filter on incoming messages sent to an email alias
Messages sent to an email alias are not parsed on the used alias but are instead parsed on the final destination address.
To reproduce
- Create IMAP folder [email protected]
- Create system email alias [email protected]
- Configure mail2most to filter on To = ["bar-user"] # could also be ["[email protected]"]
- Send message to [email protected], watch mail2most logs
- Message is skipped as it doesn't match the filters
Changing To=["[email protected]"] catches the email sent to "bar-user".
Expected behavior Expected mail2most to match the address used by the message sender (the alias).
Release version 1.11.4
Architecture I'm running mail2most in a docker container.
Additional context This may be a feature request?
hi @doncoffin thank you for your issue. You are right for now m2m doesn't account for mail aliases. I'll see if i can add this feature.