Re: [exim] ACL filtering 3 dashes in host name

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Always Learning
Fecha:  
A: Exim Users
Asunto: Re: [exim] ACL filtering 3 dashes in host name

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.

--