Re: [exim] ACL/Router

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Paulo Andre
日付:  
To: Jakob Hirsch
CC: 'Exim-users'
題目: 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