Allowing for multiple recipient_delimiter characters?
Postfix allows the recipient_delimiter configuration parameter to contain multiple characters, splitting on the first such character it encounters. For example, if using 'recipient_delimiter=+-' both aaron+foo@example.com and aaron-bar@example.com would be delivered to aaron@example.com.
Is anyone opposed to changing dovecot's handling of recipient_delimiter so that it's the same as that of postfix? If not, I am willing to rebase/merge/address review comments on Lennart Weller's patch[1] to get this functionality upstream.
While I think aligning with postfix' behaviour would be convenient for those of us who run a server using both dovecot and postfix, would this break any other common use cases I'm not aware of?
Thanks!
-Aaron
[1] - http://dovecot.org/pipermail/dovecot/2015-February/099660.html (I've talked with Lennart off-list, and he's OK with me working to get his patch merged, as long as I attribute his work to him, but doesn't have the time to work on it himself right now)
On 3/18/2016 5:58 PM, Aaron Lindsay aclindsa@gmail.com wrote:
Is anyone opposed to changing dovecot's handling of recipient_delimiter so that it's the same as that of postfix? If not, I am willing to rebase/merge/address review comments on Lennart Weller's patch[1] to get this functionality upstream.
While I think aligning with postfix' behaviour would be convenient for those of us who run a server using both dovecot and postfix, would this break any other common use cases I'm not aware of?
I can't see how it would break anything, as long as it was configurable (if adding more than '+' breaks anything, then revert the change).
But I would love to see support for this. Many systems do not allow the '+' character, but do allow the '-' character, so having the ability to use both would be great.
Thanks Aaron!
Charles
On Fri, Mar 18, 2016 at 5:58 PM, Aaron Lindsay aclindsa@gmail.com wrote:
Postfix allows the recipient_delimiter configuration parameter to contain multiple characters, splitting on the first such character it encounters. For example, if using 'recipient_delimiter=+-' both aaron+foo@example.com and aaron-bar@example.com would be delivered to aaron@example.com.
Is anyone opposed to changing dovecot's handling of recipient_delimiter so that it's the same as that of postfix? If not, I am willing to rebase/merge/address review comments on Lennart Weller's patch[1] to get this functionality upstream.
I didn't receive any opposition to my proposal, so I've created two github pull requests for discussion - one for dovecot and one for pigeonhole: https://github.com/dovecot/core/pull/4 https://github.com/dovecot/pigeonhole/pull/2
I've also attached the two patches for review here in case that is preferred. Please keep me in CC as I'm not subscribed to the list.
Thanks!
-Aaron
participants (2)
-
Aaron Lindsay
-
Charles Marcus