Alexander

On Fri, 2008-05-09 at 12:32 +0200, Alexander Prinsier wrote:
> Hello,
> 
> I've setup a mail system where dspam uids are logged to a database when
> the user selects it to be spam/not spam. Now I'm writing a script that
> feeds these signatures to dspam every day (so that it can train when the
> server is mostly idle).
> 
> My script executes this:
> 
> dspamc --source=error --class=innocent
> --signature=1003,481a8426182865547872000
> 
> But then I get this error in syslog: dspam[31876]: Unable to determine
> the destination user
> 
> When I add a --user emailaddr then it works. Can't dspam determine the
> recipient using the signature? His uid is in it...
> 
> If it's currently not possible, could you give some directions on how I
> can change it, so I can perhaps make a patch?


        I believe the signature is enough. hardcode the user:

dspamc --source=error --class=innocent
--signature=1003,481a8426182865547872000 --user [EMAIL PROTECTED]

dspamc --source=error --class=innocent
--signature=1003,481a8426182865547872000 --user anyvaliduser.com

Dspam will anyway map the signature to the correct user/message

Regards


-- 
Pablo Povarchik <[EMAIL PROTECTED]>
Level Next Ltd


!DSPAM:1011,48242a50150926999112722!


Reply via email to