Skip to content
New issue

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

"To" filter doesn't filter on incoming messages sent to an email alias #58

Open
doncoffin opened this issue Mar 28, 2021 · 1 comment
Open
Assignees
Labels
enhancement New feature or request needs-testing needs some tests

Comments

@doncoffin
Copy link

doncoffin commented Mar 28, 2021

Messages sent to an email alias are not parsed on the used alias but are instead parsed on the final destination address.

To reproduce

  1. Create IMAP folder [email protected]
  2. Create system email alias [email protected]
  3. Configure mail2most to filter on To = ["bar-user"] # could also be ["[email protected]"]
  4. Send message to [email protected], watch mail2most logs
  5. 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?

@c-seeger c-seeger self-assigned this Mar 29, 2021
@c-seeger c-seeger added enhancement New feature or request needs-testing needs some tests labels Mar 29, 2021
@c-seeger
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-testing needs some tests
Projects
None yet
Development

No branches or pull requests

2 participants