Jon Leighton wrote:
> Hi all,
> 
> I have been trying to set up a small Ruby script as a spam filter. It 
> would be used as a content_filter from Postfix, and then pass the 
> message to SpamAssassin. I didn't use SA as a direct content filter 
> because I wanted the flexibility to be able to do things like pick and 
> choose which email addresses get filtered.
> 
If you use procmail for your MDA you can set up recipes so that you can 
pass incoming message that match these rules to spamd.  This is a much 
faster solution than implementing in Ruby.  Just something to consider.