smtp_address_cmp does not ignore case of localpart

John Fawcett john at
Tue Feb 12 09:12:43 EET 2019

On 11/02/2019 22:43, Andreas Jobs via dovecot wrote:
> Hi,
> in src/lib-smtp/smtp-address.c line 759 the localpart is compared with
> null_strcmp, which does not ignore the case. While this is the correct
> behavior (according to the RFC) it causes problems in real life.
> In my case the vacation notices are not sent, if someone writes to
> First.Last at because :addresses contains (only)
> first.last at
> Regards,
> Andreas
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.


More information about the dovecot mailing list