Re: [exim] ACL/Router

Top Page
Delete this message
Reply to this message
Author: Paulo Andre
Date:  
To: Jakob Hirsch
CC: 'Exim-users'
Subject: 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