Re: [exim] protected addresses ACL

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Matthew Newton
Date:  
À: Giles Constant
CC: exim-users
Sujet: Re: [exim] protected addresses ACL
On Wed, Feb 02, 2005 at 04:41:18PM +0000, Giles Constant wrote:
> address1@???: 10.2.1.5 : 127.0.0.1 : 14.23.19.1

           ^^^^^^^^^^^

> address2@???: 192.168.0.1 : 14.23.19.1
> address@???: 11.4.3.219
>
> I was thinking along these lines, but I'm not quite sure how to finish
> it off:
>
> acl_smtp_rcpt:
> # blah blah
> accept local_part = lsearch;/path/protected-addresses

           ^^^^^^^^^^

>          endpass
>          verify = recipient
>          hosts = ${lookup{$address}lsearch{/path/protected-addresses}


This looks wrong to me; do you mean

accept recipients = lsearch;/path/protected-addresses

otherwise your file should maybe contain just the local parts, not the
whole address?

I might be wrong, though.

--
Matthew Newton <mcn4@???>

UNIX and e-mail Systems Administrator, Network Support Section,
Computer Centre, University of Leicester,
Leicester LE1 7RH, United Kingdom