Erland Nylend wrote, on 20. mar 2007 14:41:

[...]

I'm using one shared group, with the "global" user as parent, like
this: global:shared:*

I've set the learning mode in dspam.conf to toe, and these are the
preferences for the users:

| mysql> select * from dspam_preferences;
| +-----+--------------+-------+
| | uid | preference   | value |
| +-----+--------------+-------+
| | 11 | optin | on | | | 11 | trainingMode | toe | | | 13 | optin | on | | +-----+--------------+-------+
| 3 rows in set (0.00 sec)

(uid 11 is the global user, and the other one is the one I'm sending
ham/spam to)

I've done some initial training of the global user, and dspam seems
to work as expected when sending mail to myself (uid 13). My problem
is that when dspam misses spam, and I want to notify dspam about the
errors, it does not work.

This is the command I am using:
~# dspam --user global --class=spam --source=error 
--signature=11,45ffaeec41871548770753

I see no change in dspam_stats, and I cannot see any improvement in
how dspam filters the spam messages, either.
Anyone on the list who could offer some tips?

[...]

Well, I might be able to.

1: Please revise the recent thread on this list between Lars Stavholm ([EMAIL PROTECTED]) and myself, which dealt with exactly the same thing.

2: Basically, if you use a *shared* group (which all my sites do), you can't initiate any other user than the user of the shared group itself, in your case user "global". So you can't expect any other user to be existent in the group, you can't have any other user in your setup than uid 11. If you do, it simply won't work, as you've found out for yourself. You can't submit data in the name of a user that doesn't exist.

You send mail to uid 13, fair enough, the user receives the mail - this is a factor of your MTA and (if you have one) your MLA. But dspam will not retrain under any other uid than that of the shared group.

If you can peruse the exchange between Lars and me on the same subject, then that would be the best. Otherwise, we can take it from step 1: again.

Denne gangen: Venleg Helsing,

--Tonni

--
Tony Earnshaw
Email: tonni at hetnet dot nl

Reply via email to