smtp_address_cmp does not ignore case of localpart
john at voipsupport.it
Wed Feb 13 00:12:33 EET 2019
On 12/02/2019 21:41, Andreas Jobs via dovecot wrote:
> On Tue, Feb 12, 2019 at 08:12:43AM +0100, John Fawcett via dovecot wrote:
>> On 11/02/2019 22:43, Andreas Jobs via dovecot wrote:
>> In practice if you convert the username part to lower case in the MTA
>> then you will accept mail with mixed case but only have to deal with
>> lowercase in Dovecot.
> Yes, but the vacation action (also) compares :addresses against the
> header to|cc|sender... And changing the headers is a bad idea.
> Maybe my subject line was a bad choice :-)
You're right, ignore my suggestion. Only the domain is treated case
insensitive and localpart is compared case sensitive.
The change in itself looks trivial, but it would affect more than
vacation (smtp_address_equals is used in a few places in dovecot and
More information about the dovecot