>>> > !domains = mysql;SELECT domainname FROM exim_whitelist WHERE \
>>> > domainname='${quote_mysql:@$domain}'
>>> >
>>> > This does not work. Any help would be appreciated.
> 
>> The database contains a simple domainname filed with the domain.com without
>> the @. 
> 
> Hello.
> That's how I use auto-whitelisting in Exim:
> 
> domainlist      white_domains = ${lookup mysql{SELECT sender \
>                         FROM whitelist \
>                         WHERE type=1 AND 
> sender='${quote_mysql:$sender_address_domain}'}{$value}fail}
> 
> (I have type=1 for domains and type=2 for addresses)
> 
>                         
> And in ACL section:
> 
>   # Accept whitelist domains
>   accept sender_domains = +white_domains



Looking at the auto whitelist options,

Is there a way to to populate the table with all the domains of sent email?

I saw reference to making a function.
Is there a sample such function around someone would want to share?

-- 
respectfully, Joseph ===============
-                                  =
---------------------= **********  =

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to