Re: [exim] data ACL only for ''local recipient'' messages...

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jeremy Harris
Date:  
À: exim-users
Sujet: Re: [exim] data ACL only for ''local recipient'' messages...
On 10/09/15 17:27, Marco Gaiarin wrote:
> But, there's no way to set some variable 'acl_mX' in 'acl_check_rcpt:' based
> on recipient?


Certainly there is. Now, what will you do when there is a second
recipient?

> There's no test 'this is a local recipent' in
> 'acl_check_rcpt:'?!


You can build one, but _you_ have to define what you
mean by "local". Exim is flexible because different
users of it have different needs; this means that the
notion of "local" (and many other things) is not
hardwired but instead must be coded in the config file.

There are many common use cases if you search. The
distribution includes a basic example config file,
well-commented. Read it in combination with the
documentation.
--
Jeremy