search for: smtp_address_equ

Displaying 2 results from an estimated 2 matches for "smtp_address_equ".

2020 Nov 09
1
DOP-1414 sieve vacation address matching is case sensitive
..., and no additional `:addresses' are specified)" and no auto-response will be sent the problem seems to be located in /src/lib-sieve/plugins/vacation/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 cas...
2019 Feb 12
1
smtp_address_cmp does not ignore case of localpart
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