Hi all...
I was looking into the dspam plugin, and it looks very interesting.
I saw two version of it around:
- one that forks and call dspam
- one that calls a store procedure in mysql.
I was wondering if we can just log signature and classification into a flat file, instead.
The problem is that calling spam can be expensive; And eventhough the myslq solution is brilliant, I dont want to rely on mysql to be alive in order to move the files to/from spam box. Plus, the plugin would be much lighter wihtout libmysqlclient.
Any ideas?
Hi,
I saw two version of it around:
- one that forks and call dspam
- one that calls a store procedure in mysql.
I was wondering if we can just log signature and classification into a flat file, instead.
Yes, you could. However, you may run into problems with multiple clients accessing the same file, hence you'll need to lock the file and all that. It shouldn't be hard to do based on the mysql plugin though.
johannes
participants (2)
-
Johannes Berg
-
Tom Bombadil