baruwaproject / baruwa2

Baruwa 2.0
http://www.baruwa.org
GNU General Public License v3.0
21 stars 9 forks source link

[feature request] ability to pattern match with alias addresses #55

Closed bpikkaart closed 9 years ago

bpikkaart commented 9 years ago

We would really appreciate the ability to add a wildcard pattern match for alias addresses.

Some of destination servers we deliver to utilize dynamic alias addresses, where anything matching the format of username-*@domain.com will be considered a valid recipient, and will forward to username@domain.com. These addresses work without explicitly defining them on the destination server. For example, all of the following are considered valid aliases:

Would it be possible to allow aliases to contain a wildcard so that adding this:

username-*@domain.com

as an alias to an account would ensure any email matching that pattern was associated with the account, both in terms of processing and allowing the user to view that email in the messages list?

This would be useful for a number of MTA implementations:

Thanks for considering!

akissa commented 9 years ago

This has been implemented and will be available in 2.0.7

bpikkaart commented 9 years ago

That's great news. Thank you!