Daniel wrote:
> I'm just looking for a "Hello World" like piece of code. I would prefer a 
> script language (eg bash, python, php :) ). Rejecting mail if title 
> is "reject me" sounds fine to me for an "Hello World" like filter...
>   

Python I can do. ;)

I've got some documentation on writing filters in python here:
http://phantom.dragonsdawn.net/~gordon/courier-pythonfilter/latest/README.hacking

You started this thread asking about message recipients.  The best 
example I've got of a working filter that examines the recipient list is 
here:
http://phantom.dragonsdawn.net/~gordon/courier-pythonfilter/latest/filters/privateaddr.py

It's a little more complex than "hello world", but not much.  I'm happy 
to answer questions about python filter development.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to