-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Elliot Foster writes:
> I use the same thing for reclassifications of spam, but have found the 
> following useful:
> 
> http://da.andaka.org/Doku/imapspamfilter.html
> 
> Specifically, the patch to storeinfo.c that allows triggering of a 
> command on storage of an message.  Example from that page:
> 
> >ON_COPY_TO_BOX_Spam="source /etc/profile; /usr/bin/sa-learn --spam 
> >\`pwd\`/'%s' --dbpath \`pwd\`/../.spamassassin"
> >ON_COPY_TO_BOX_Trash=""
> >ON_COPY_TO_NOT_LISTED="source /etc/profile; /usr/bin/sa-learn --ham 
> >\`pwd\`/'%s' --dbpath \`pwd\`/../.spamassassin"
> >
> 
> All my users have to do is drag an item out of their spam folder and 
> into whatever other folder (other than trash) and it is automatically 
> trained to be ham.  It also erases the need to have a cron job (which is 
> what I was doing before) to process the "Spam" mail folder.  So cycles 
> are not wasted looking for messages to be classified.

wow, that's a great patch!  Thanks for the link.

- --j.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Exmh CVS

iD8DBQFDqvmUMJF5cimLx9ARAuGWAJ9VAh3q31Khe+JssSVokRa7qRuoOgCfRk4t
utXT6xUiFxpc+2Y8I3GcTRo=
=10D4
-----END PGP SIGNATURE-----

Reply via email to