Re: [exim] ACL/Router

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Paulo Andre
Data:  
Para: Jakob Hirsch
CC: 'Exim-users'
Assunto: Re: [exim] ACL/Router
Jakob Hirsch wrote:
> Paulo Andre wrote:
>
> Try
>
>        ! sender_domains = mysql;SELECT Domain FROM xdomains WHERE 
> Allowed='Y' AND Domain='${quote_mysql:$sender_address_domain'


I finally got to the following, as requirement has changed

I have to check the users and am now using::

  !senders      = ${lookup mysql{SELECT User FROM users WHERE 
User='$sender_address' and Domain='$sender_address_domain' and 
Allowed='Y'}{$value}}


This works, but I need to able able to have 'User=*@domain.com' in the
database and then exim will allow all users for that domain to send.
Possible?

Paulo