2010/1/26 Always Learning <[email protected]>:
>
> Hi Chris,
>
>> That's because * on its own is not a valid regular expression. Try .* or
>> read "man pcre".
>
> Since I'm changing the Exim confg file from M$ Windoze 98se, I'll try
>
> .*-.*-.*-.* : .*adsl.* : .*dynamic.* : .*static.* : .*dial.*

You could, but you could also read the doc extract that Mike already
helpfully pasted for you:

> http://www.exim.org/exim-html-current/doc/html/spec_html/ch10.html#SECThoslispatnam
>
> "If a pattern starts with "*" the remainder of the item must match the
> end of the host name. For example, *.b.c matches all hosts whose names
> end in .b.c. This special simple form is provided because this is a very
> common requirement. Other kinds of wildcarding require the use of a
> regular expression."

PCRE-style regexs and the 'match' operator are what you need here.

Peter


-- 
Peter Bowyer
Email: [email protected]
Follow me on Twitter: twitter.com/peeebeee

-- 
## 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/

Reply via email to