Hello Attila,

everything looks fine at you, and think I have found the problem.
The clapf daemon is willing to save to the queue for you if your uid is greater than 0. You have uid=1, so it's good. But you have shared group (group_type=0), and the bayes_file() will 'fix' it (ie. setting to 0).

So the quick fix is to edit session.c, and find this line (at row 470):

if(sdata.uid > 0) save_email_to_queue(&sdata, spaminess, &my_cfg);

then remove the conditional check, let only the following part to remain:

save_email_to_queue(&sdata, spaminess, &my_cfg);

Then recompile clapf, and it should save messages to the queue directory.

Meanwhile I will fix this issue in bayes_file() to restore the original uid when finished. I would be glad if you could confirm that it really works.


Best regards,
Janos

Reply via email to