My suggestion is this:
Is it possible to create two special binc imap folders called 'LEARN_SPAM" and "UNLEARN_SPAM" ?. Email still enters the inbox filtered by DSPAM, which is inline with the MTA. If the user decides a particular email is SPAM he simply moves the email into the "LEARN_SPAM" folder, which triggers binc to pipe the email into the dspam binary with the proper flags, ie. "|/usr/local/bin/dspam --user [userid] --class=spam --source=error"
or in the case of a false positive, the user copies the email into the "UNLEARN_SPAM" folder, ie. | /usr/local/bin/dspam --user [userid] --class=innocent \ --source=error --deliver=innocent
Roger,
I didn't fully understand the concept that you are suggesting when I first read your mail. However, having reviewed the other couple of responses to your mail I now understand what you mean.
You'd like all messages dropped in a certain folders to be processed by a pre-determined script, dspam in your case.
I think that's a great idea!
I do exactly the same thing as you describe but use a cron job to periodically process any messages in the spam folders. The folder trigger idea would make this much cleaner.
Andy - how about it?
R. -- http://robinbowes.com
