Re: IO and an encoded email attachment





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.

.



Relevant Pages

  • Re: IO and an encoded email attachment
    ... I have been trying to set up a small Ruby script as a spam filter. ... If you use procmail for your MDA you can set up recipes so that you can ... to use it because I already had set up a working system using Postfix ...
    (comp.lang.ruby)
  • Re: IO and an encoded email attachment
    ... I have been trying to set up a small Ruby script as a spam filter. ... I use it for a variety of things, and like it a lot because of the ease and flexibility. ...
    (comp.lang.ruby)
  • Help Spamassassin+Cyrus+Postifix
    ... I'm trying to get postfix to use a content_filter I created to filter all ... incoming mail through spamassassin as described in the book Spamassassin ... I'm still receiving mail ok and there seems to be no special messages in ...
    (alt.os.linux.suse)
  • Re: redhat-list digest, Vol 1 #8452 - 26 msgs
    ... You have to tell postfix to send the mail through spamc, ... talks to spamd to filter the mail. ... If you need help mail me off list and I'll help if I can. ... site-wide filtering, rather than procmail. ...
    (RedHat)
  • RE: Another sendmail relaying problem.
    ... > been using Postfix on a test network first, ... Get SA running on your MTA first. ... mydomain1.com FILTER filter:spamassassin ... system from your local network or SA will not be called. ...
    (Fedora)