search for: smtp_address_cmp

Displaying 4 results from an estimated 4 matches for "smtp_address_cmp".

2020 Nov 09
1
DOP-1414 sieve vacation address matching is case sensitive
...fied)" 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 case sensitive within smtp_address_cmp(), but hav...
2019 Feb 11
2
smtp_address_cmp does not ignore case of localpart
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 ruhr-uni-bochum.de because :addresses contains (only) first.last at ruhr-uni-bochum.de. Regards,
2019 Feb 12
0
smtp_address_cmp does not ignore case of localpart
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
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