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.*

Exim is one application that never requires the use of dos2unix on any
of its use changeable files.

I'll also try Mike's

> condition = ${if match{$sender_host_name}{\N(.*?-.*?){3}\N}}

but wonder if I can use that only in a subsequent ACL such as 

acl_smtp_data = acl_check_data

        acl_check_data:

It depends on where the $sender_host_name acquires its value.

Thanks to everyone for their help.

Paul.

-- 



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