smtp_address_cmp does not ignore case of localpart
john at voipsupport.it
Tue Feb 12 09:12:43 EET 2019
On 11/02/2019 22:43, Andreas Jobs via dovecot wrote:
> 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 ruhr-uni-bochum.de because :addresses contains (only)
> first.last at ruhr-uni-bochum.de.
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