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 -- ## List details at http://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/