[Dovecot] Help with mysql-dspam-plugin

Johannes Berg johannes at sipsolutions.net
Fri Feb 23 11:19:37 UTC 2007


On Thu, 2007-02-22 at 16:53 -0500, Rob Klingsten wrote:

> Thanks for the reply!  Just to be clear, I'm talking about Tim  
> White's version of the code, that uses MySQL.  I tinkered with it,  
> and fixed the problem by simply changing the two routine names:
> 
> void dspam_plugin_init(void) TO void dspam_init(void)
> 
> and
> 
> void dspam_plugin_deinit(void) TO void dspam_deinit(void)
> 
> And now it is working beautifully.  Doesn't make sense to me why  
> though.  But I'm happy.

Ah, I can tell you why ;)
The name of the plugin as you gave it was "dspam" which means you need
dspam_init and dspam_deinit. Tim probably called the plugin
"dspam_plugin" instead.

> As far as the processing of the signatures, I assume I want to run  
> the 'clientrunner.php' out of cron once or twice a day?  This is on a  
> system with about 40 users.

I'm not entirely sure about that. I think so, but CC'ing Tim anyway
(hope I got the right address.)

johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070223/d88402ad/attachment.pgp 


More information about the dovecot mailing list