Kristian Koehntopp said:

> I need my code for a project where there is a master LDAP with
> some 200 replicas nationwide, partially with 64 kBit/sec ISDN
> lines used for replication and mail forwarding together. If I
> were to store AWL or bayes data within the repository, the
> updates would kill me, thus my patch only addresses
> configuration data, which I consider to be static enough to be
> manageable by my infrastructure.

phew, that's a big site! ;)

> In other setups the configuration may be different, and an LDAP
> AWL or even bayes store may be worthwile. And it would be useful
> to have SpamAssassin store config, AWL and bayes data in
> arbitrary locations including files, databases and directories,
> even if only for reasons of orthogonality and programmatic
> beauty - it would lead to some kind of pluggable architecture
> where one can easily add additional forms of storage without
> to much code.

That would be nice ;)

One idea we've been thinking of for 2.70 or 3.0, was to use DBI for
specifying database locations; in other words, just this.

DBI uses URI-style strings to specify formats, access methods, etc. along
with the db names; if there's a DBI/DBD module to access LDAP, that would
be best.  And it looks like there is:

http://aspn.activestate.com/ASPN/CodeDoc/DBD-LDAP/DBD/LDAP.html
http://turnerville.virtualave.net/DBDLdap.htm

Then in the config files, it's a matter of using a DBD specifier instead
of a filename to indicate that such a database should be accessed via
LDAP, or MySQL, or whatever.

But I'm not sure *writable* dbs like Bayes or AWL would ever be useful
in LDAP; afaik, LDAP is very much read-frequently, write-seldom.

BTW this bugzilla entry is relevant; it's the use of SQL for
bayes/awl/etc.
http://bugzilla.spamassassin.org/show_bug.cgi?id=195 

--j.


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to