On Tue, Jan 15, 2013 at 08:44:57AM +0200, Timo Sirainen wrote: > 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.
My recipient_delimiter is actually '-', and I have a number of usernames that contain this character. I'd like to avoid having to change them. Additionally, I currently seperate address-lists@ and address-spam@ into two different mailboxes (accounts), something I'd also like to keep. But if you don't find these changes useful, I'll just go back to using LDA where this was/is possible. Easier to maintain than patching.