[Dovecot] [PATCH] LMTP: Permit user IDs containing recipient_delimiter

Ulrich Zehl ulrich-dovecot at topfen.net
Sat Jan 12 18:45:40 EET 2013


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lmtp_recipient_delimiter_in_uid.patch
Type: text/x-diff
Size: 3043 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20130112/5ccebf50/attachment.bin>


More information about the dovecot mailing list