Re: [exim] expansion problem with rfc2047 headers

Etusivu
Poista viesti
Vastaa
Lähettäjä: Schramm, Dominik
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] expansion problem with rfc2047 headers
Hi Stephen,

Stephen Gran on Friday, July 25, 2008 4:08 PM:

> [...]
>   warn  condition      = ${if match 
> {$h_Subject:}{\N[^[:print:]]{8}\N}}
>         set acl_c1     = ${eval:$acl_c1+5}
>         log_message    = mailer is not RFC 2047 compliant
> [...]
> 
> So, great - it matches unencoded text, but not encoded text.  


have a look at the following:

http://docs.exim.org/current/spec_html/ch11.html#SECTexpansionitems

and check out the difference between

$h_<header name>: and $rh_<header name>:

*Maybe* that is the problem here.

> [...]
> Any cluebats handy? Is this even a good idea?


Well, I like such things, but what are you trying to accomplish?
What does this regular expression catch? (Why eight non-printable
characters at the beginning?)

Cheers,
Dominik