-
Notifications
You must be signed in to change notification settings - Fork 311
Description
Use case
It it described on wikipedia:
-
Role-addresses
info, sales, postmaster, and similar names[6] can appear to the left of @ in email addresses. An organization may forward messages intended for a given role to the address of the person(s) currently functioning in that role or office. -
Multiple, or discontinued addresses
When users change their email address, or have several addresses, the user or an administrator may set up forwarding from these addresses, if still valid, to a single current one, in order to avoid losing messages.
Your idea for a solution
I haven't looked at the source code of maddy. It would be nice to store forward rules in a table such as
(1, "root@domain.com", "alice@domain.com")
(2, "root@domain.com", "bob@domain.com")
(3, "root@domain.com", "bob@otherdomain.com")
and so when a mail is received the To header would be checked against "root@domain.com" and automatically forwarded to "alice@domain.com", "bob@domain.com" and "bob@otherdomain.com". The table could be altered (and reloaded?) via the command line or other mechanisms.
I'm not sure how difficult would that be.
- I'm willing to help with the implementation