Re: [exim] ACL filtering

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Always Learning
Fecha:  
A: Exim Users
Temas antiguos: Re: [exim] Exim Mailing List - Imposing Mimimum Technical Posting Standards ?
Asunto: Re: [exim] ACL filtering

Martin A. Brooks wrote on Fri, 23 Apr 2010 17:38:43 +0100.


> On Fri, April 23, 2010 17:21, Always Learning wrote:
> > The test in Exim is
> >
> > deny    message       = [C06.5]  Msg6 Msg2
> >         hosts         = ^.*[a].?[d].?[s].?[l]*


> martin@olga:~$ perl -e 'if ("olga.hinterlands.org" =~
> m/^.*[a].?[d].?[s].?[l]*/){print "your configuration is broken\n.";}'
> your configuration is broken


Its not useful to me, and possibly just as confusing to others, for you
to abandon English and express your thoughts in Pearl. I have my still
unread Big Black Book from 1999 which I will peruse to understand what
'm' means.

I have changed the test to this, which I think will be more effective at
detecting the use of 'mail server' connections having 'ADSL' in their
host names.

deny    message       = [C06.5]  Msg6 Msg2
        hosts         = ^.*[a][-_.][d][-_.][s][-_.][l]* :
^.*[a][d][s][l]*



Regards,

Paul.

--