Re: [exim] Why does this regex not match?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Marc Sherman
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Why does this regex not match?
Robert Nicholson wrote:
>
> Now whilst this regular expression is quite convoluted even if I just
> put $header_from: does not match "windows" it still doesn't match
>
> Can anybody tell me why that's the case?
>
> In my case I don't want to copy mail with foreign charsets etc into
> the backup folder which is why copying it is conditional that it
> doesn't match those patterns.


You want to use $rh_from, not $header_from; see the docs for $header_ in
http://exim.org/exim-html-current/doc/html/spec_html/ch11.html#SECTexpansionitems

- Marc