Re: [exim] Matching RFC 2047 encoded text

2019-04-21 Thread Jasen Betts via Exim-users
On 2019-04-21, Ian Zimmerman via Exim-users  wrote:
> On 2019-04-17 15:30, Lena--- wrote:
>
>> check_rfc2047_length = false
>
> Thanks, Lena.
>
> If I leave it as true (the default), and $h_subject: turns out to
> contain "=?UTF-8?B?", can I assume (not with certainty, but with a high
> likelihood) the message violates the RFC?

yes, there is a small probability that the sender actually intended
"=?UTF-8?B?" to be presented to the recipient. in all other cases the
message does not meet the RFC. possibly you should also check for "=?UTF-8?P?" 
etc...

-- 
  When I tried casting out nines I made a hash of it.

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


Re: [exim] Matching RFC 2047 encoded text

2019-04-21 Thread Lena--- via Exim-users
> From: Ian Zimmerman

> > check_rfc2047_length = false
> 
> Thanks, Lena.
> 
> If I leave it as true (the default), and $h_subject: turns out to
> contain "=?UTF-8?B?", can I assume (not with certainty, but with a high
> likelihood) the message violates the RFC?

Yes, but filtering on that is fraught with false positives.


-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


Re: [exim] Matching RFC 2047 encoded text

2019-04-21 Thread Ian Zimmerman via Exim-users
On 2019-04-17 15:30, Lena--- wrote:

> check_rfc2047_length = false

Thanks, Lena.

If I leave it as true (the default), and $h_subject: turns out to
contain "=?UTF-8?B?", can I assume (not with certainty, but with a high
likelihood) the message violates the RFC?

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/