On Sat, 2013-01-12 at 17:45 +0100, Ulrich Zehl wrote:
The Dovecot 2.1 LMTP server currently always strips the address extension from a recipient address (if recipient_delimiter is set), meaning user IDs cannot contain the recipient delimiter character, e.g. "user+foo" is not supported.
This was surprising for me, as Postfix behaves differently in this regard: It first looks up "user+foo", and only then "user".
The attached patch works for me and brings Dovecot's behavior in line with Postfix. Please let me know what you think about it.
What do you need this for? Do you really have usernames that have '+' characters? Sounds like a bad idea. In Postfix it makes more sense, because you might want user+ext to be delivered differently, but with Dovecot you can do this in Sieve.