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

Weird use case: Sender based recipient rerite #5375

Open
chibenwa opened this issue Dec 17, 2024 · 1 comment
Open

Weird use case: Sender based recipient rerite #5375

chibenwa opened this issue Dec 17, 2024 · 1 comment

Comments

@chibenwa
Copy link
Member

A customer needs to forward all mails sent by a user to another one.

This is not the regular forward which forwards mail received by a user.

Use case: supervision of an automated mail process.

Today the only way to achieve this is to set the Forward mailet which do not scale.

If we encouter this more we would need to have a DB backed impem for this?

@chibenwa
Copy link
Member Author

This is similar to postfix bcc maps

sender_bcc_maps

An implementation can propose:

  • Add a new Mapping type for RRT SenderBasedForward
  • Add a new webadmin interface to populate this alias type
  • Write a mailet fir sender based forwards
    • Step 1: normalise sender to the actual user (ie applies aliases)
    • Step 2: Lookup forward addresses for the sender and add them as recipient of the email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant