2 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Filter Examples?
FromSent OnAttachments
Rick MacdougallJun 12, 2000 10:22 am 
Rick MacdougallJun 12, 2000 2:43 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Filter Examples?Actions...
From:Rick Macdougall (ric@fp.sourceforge.net)
Date:Jun 12, 2000 2:43:47 pm
List:net.sourceforge.lists.courier-users

Hi,

I found the source just now but it doesn't seem to have installed it.

I'll look through the source and see what I can do with it.

I was really looking to write a DB or MySQL based filter to filter out some of the more annoying spam (Internet Spy and You comes directly to mind :))

Regards,

Rick

Sam Varshavchik writes:

On Mon, 12 Jun 2000, Rick Macdougall wrote:

Hi,

I've read the the exsisting list but I didn't see one anywhere.

Does any have an example filter written in C or Perl that I can get started with?

Specifically what filter are you referring to? There are several filtering APIs available. The only C-based filters that can currently be easily used are global filters, documented in courierfilter(8) in the section "MAIL FILTER IMPLEMENTATION". The source for the sample filter that's installed by default, dupfilter, is in the courier/filters subdirectory.