Roger Klorese
2019-Sep-04 17:37 UTC
[Bug] Sieve vacation :addresses match only case-sensitive?
On Wed, Sep 4, 2019 at 8:25 AM Philipp Faeustlin via dovecot < dovecot at dovecot.org>> Further investigation showed me that it has to be a bug. > > I tested with Dovecot 2.2.36.3 (a7d78f5a2), Pigeonhole version 0.4.24 > (5a7e9e62): > > In this version the additional addresses in vacation :addresses > ["test at example.com"] are handled case-insensitive. > > In the new version: Dovecot 2.3.7.2 (3c910f64b), Pigeonhole version > 0.5.7.2 (7372921a) installed via https://repo.dovecot.org/, (same sieve, > same configuration) these addresses are handled case-sensitive. > > The case-sensitive matching of mail addresses, doesn't make any sense to > me. > > Could someone confirm this behavior? > >Isn?t RFC-compliant behavior to treat the local part as case-sensitive and the domain-part as case-insensitive? -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190904/ce842f63/attachment.html>
Jean-Daniel
2019-Sep-04 19:14 UTC
[Bug] Sieve vacation :addresses match only case-sensitive?
> Le 4 sept. 2019 ? 19:37, Roger Klorese via dovecot <dovecot at dovecot.org> a ?crit : > > > > On Wed, Sep 4, 2019 at 8:25 AM Philipp Faeustlin via dovecot <dovecot at dovecot.org <mailto:dovecot at dovecot.org>> > Further investigation showed me that it has to be a bug. > > I tested with Dovecot 2.2.36.3 (a7d78f5a2), Pigeonhole version 0.4.24 > (5a7e9e62): > > In this version the additional addresses in vacation :addresses > ["test at example.com <mailto:test at example.com>"] are handled case-insensitive. > > In the new version: Dovecot 2.3.7.2 (3c910f64b), Pigeonhole version > 0.5.7.2 (7372921a) installed via https://repo.dovecot.org/ <https://repo.dovecot.org/>, (same sieve, > same configuration) these addresses are handled case-sensitive. > > The case-sensitive matching of mail addresses, doesn't make any sense to me. > > Could someone confirm this behavior? > > > Isn?t RFC-compliant behavior to treat the local part as case-sensitive and the domain-part as case-insensitive?It is not recommended to rely on local-part case, but it is indeed case-sensitive. And this is to avoid such issues that postfix supports address cleanup/canonicalisation before forwarding mails to dovecot. ---------- RFC 5321: "Local-part = Dot-string / Quoted-string ; MAY be case-sensitive [?] While the above definition for Local-part is relatively permissive, for maximum interoperability, a host that expects to receive mail SHOULD avoid defining mailboxes where the Local-part requires (or uses) the Quoted-string form or where the Local-part is case-sensitive." -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190904/e0d0e30f/attachment.html>
Roger Klorese
2019-Sep-04 19:18 UTC
[Bug] Sieve vacation :addresses match only case-sensitive?
> > It is not recommended to rely on local-part case, but it is indeed > case-sensitive. > > And this is to avoid such issues that postfix supports address > cleanup/canonicalisation before forwarding mails to dovecot. > > ---------- > RFC 5321: > > "Local-part = Dot-string / Quoted-string ; MAY be case-sensitive > [?] > While the above definition for Local-part is relatively permissive, for > maximum interoperability, a host that expects to receive mail SHOULD avoid > defining mailboxes where the Local-part requires (or uses) the > Quoted-string form or where the Local-part is case-sensitive." > >And therefore ?receive liberally? policy that wants to assume case-insensitivity should single-case the address IN THE COMPARISON.> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190904/3d002a84/attachment.html>
Maybe Matching Threads
- [Bug] Sieve vacation :addresses match only case-sensitive?
- [Bug] Sieve vacation :addresses match only case-sensitive?
- Sieve vacation :addresses match only case-sensitive?
- [Bug] Sieve vacation :addresses match only case-sensitive?
- [Bug] Sieve vacation :addresses match only case-sensitive?