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 at example.com and aaron-bar at example.com would be delivered to aaron at 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)
Charles Marcus
2016-Mar-20 13:38 UTC
Allowing for multiple recipient_delimiter characters?
On 3/18/2016 5:58 PM, Aaron Lindsay <aclindsa at 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 at 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 at example.com and aaron-bar at example.com would be delivered to > aaron at 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-subaddress-Support-multiple-recipient_delimiters.patch Type: application/x-download Size: 4333 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20160322/1610d48f/attachment-0002.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Support-multiple-recipient_delimiters.patch Type: application/x-download Size: 3666 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20160322/1610d48f/attachment-0003.bin>