Rules via SQL queries?

ISP List isp-list at TULSACONNECT.COM
Sat Oct 26 14:16:33 IST 2002


Is it possible for MailScanner to pull rules from a SQL database?  What I'm
looking for is similar to what exim does with its ability to pull certain
values in this manner.  Example:

domainlist relay_to_domains = mysql;SELECT DISTINCT domain from domains
WHERE mx1='mx10.tulsaconnect.com' AND domain='${domain}';

So, if I set the Required SpamAssassin Score per-domain, it would be much
easier/scalable if I could tell MailScanner to pull that from a database, e.g.

SELECT score FROM scoretable WHERE domain='${domain}';

Same would apply for the whitelist/blacklist function.

--Mike



More information about the MailScanner mailing list