Ok, this is what I thought.
Thanks for your answer.

--
Jean-Daniel BONNETOT
PRIVIANET


Le Tue, 1 Apr 2008 10:05:44 +0300, Ismail YENIGUL :
Re: [dspam-users] Learn a mail on error for two users
> Hi Bonnetot,
> 
> You did not tell us which MTA you are using, Therefore I will writing
> something general.
> 
> You can train the user spam db as usual (ie: cat mail.txt |  dspam
> --mode=teft --source=error --user your_user), DSPAM will check the
> DSPAM-Signature then will train the user database according to the
> UID number in this header.
> 
> To be able to train global user, you should remove the DSPAM related
> headers in the same file/script where you train the user and train
> with --source=corpus (Hence there is no more DSPAM header, it is not
> possible to train as error)
> You can do this with the following perl command.
> 
> /usr/bin/perl -pi -e 's:.*X-DSPAM.*::g'  mail.txt
> 
> Then issue the following command:
> 
> cat mail.txt |  dspam --mode=teft --source=corpus --user globaluser)
> 
> 
> Thanks
> 
> Monday, March 31, 2008, 7:39:40 PM, you wrote:
> 
> > Hi,
> 
> > I'm looking for a way to learn a mail on error for two users.
> > ie: A user report an error, his own dictionary will be modified and
> > in some case, I want too modify the globaluser dictionary.
> 
> > Do you know how I can do that ?
> 
> > I use DSPAM 3.8.0 with merged globaluser and "MySQLUIDInSignature
> > on".
> 
> > Thanks
> 
> > --
> > Jean-Daniel BONNETOT
> > PRIVIANET
> 
> 
> 

Reply via email to