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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Marc Sherman
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: 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