[exim] whitelisting domains, mysql

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Anja Gawlik
Dátum:  
Címzett: exim-users@exim.org
Tárgy: [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