Displaying 1 result from an estimated 1 matches for "null_strcasecmp".
2020 Nov 09
1
DOP-1414 sieve vacation address matching is case sensitive
...ation/cmd-vacation.c and the
_contains_my_address_() function
the comparison is done using dovecot's lib-smtp
(src/lib-smtp/smtp-address.h) smtp_address_equals() function, which returns
smtp_address_cmp(.) == 0;
smtp_address_cmp() does a case insensitive comparison of the domain parts
(using null_strcasecmp()) and a case sensitive comparison of the local parts
(using null_strcmp())
There is probably a good reason why the local parts comparison is case
sensitive within smtp_address_cmp(), but having vacation rely on that
function causes the problem described above.
Is there any plan to fix that ?
R...