[exim] whitelisting domains, mysql

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Anja Gawlik
Date:  
À: exim-users@exim.org
Sujet: [exim] whitelisting domains, mysql
Hello everybody,





My goal is to accept mails from whitelisted domains without further analysis (spam etc). I have a mySQL database storing my whitelist. Is the following correct?





___________________



white_domains = ${ lookup mysql {select sender_domain FROM whitelist WHERE sender_domain='${quote_mysql:$sender_domain}'}{$value}fail}



accept sender_domains = +white_domains

endpass

verify = recipient
_________________

I am aware that endpass is not commonly used anymore.

I'd like it to work on the first attempt, cannot disturb my companies mail for an hour to try different settings.. Any help is greatly appreciated.



Greetings,
Anja Gawlik