Hi all, are there any plans / ideas to support SOFT white-/blacklisting not only via SQL lookup, but also via LDAP lookups?
I guess, the main problem here is how to store and retrieve those information in the LDAP tree. Obviously, the SQL approach (using a separate table with per sender values "W"/"B" or a score value) will not work that simple with LDAP. One naive approach would be to add another attribute to the objectclass amavisAccount, eg. "amavisWBList", which can occur multiple times. The value of this attribute could be something like "sen...@doma.in B" or "sen...@doma.in +5.0" (for hard-blacklisting the sender resp. soft- blacklisting the sender). To search for this format of entries amavisd must execute a substring-search: amavisWBList="sen...@doma.in *" - don't know if this is possible (the space before "*" is important!). Probably this also will not scale very well. Another way would be to introduce a new objectclass "amavisWBEntry", which contains the single-valued attributes "senderAddress", "recipientAddress" and "wbscore" (with the same meaning as the corresponding SQL columns). This would be very similar to the SQL-way of W/B-listing, but this may cause performance problems with a lot of W/B-listing entries... Any comments? Any other ideas? Maybe nobody even WANTS to introduce soft W/B-listing in LDAP for other reasons... Regards -stefan- ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/