[imp] custom spam reporting

Michael mike at strangehouse.com
Wed May 5 05:22:59 PDT 2004


I've been contemplating my spam-reporting options and have come up with an 
acceptable solution, but I'm unsure about how to implement it in IMP

Here's my plan (and it works when controlling the messages directly from the 
server)

The plan is to move a spam message from the users mailbox into another folder 
on the same box.

Administrators can, at that point, verify that the message is spam or not and 
move it to the appropriate folder for use with sa-learn.

I'd like to customize the spam reporting link to move the message from the 
users mailbox to another folder on the same machine.  There is an example in 
the config that uses:
$conf['spam']['program'] = '/usr/local/bin/spamassassin -r';
to report the message using DCC

I will, of course, be trying different things to accomplish this, but want to 
know if there is a preferred method to move the message without altering it.

perhaps something like 
$conf['spam']['program'] = 'mv $1 /home/verifyspam/.maildir/cur'

Michael


More information about the imp mailing list