This is a very common question, there are a number of solutions detailed in the Wiki, complete with code you can steal in some cases.
 
Basically you can't forward, as you have discovered.  What you CAN do is:
 
1    Forward as an attachment.  Users will tend to forget to make it an attachment, and you have to write some code to unwrap the original spam out of the attachment.  Also, it is real easy to open the spam by mistake doing this, and thus have the assorted web bugs probably present in the spam confirm that the user is live.
 
2    Set up some IMAP folders on the server and export these as public folders.  The users can then just drag/drop the ham/spam into these folders.  Harvest them with a cron job.  There isn't as much chance of opening the spam this way, at least if they have Preview turned off, as they really should.
 
Number 2 is the generally suggested solution, and there are a number of variants on the Wiki on how to do it.
 
BTW, you should probably toss your current Bayes DB and rebuild after implementing one or the other of these methods.  The header corruption has probably skewed the database enough that it will be difficult to get straightened out.
 
        Loren
 

Reply via email to