On 03/27/2011 05:23 AM, Matus UHLAR - fantomas wrote:
> Ok, now what is the way to modify headers in incoming mail? OR modifying
> whole e-mail. Can courierfilter modify the message data file?

Filters are given the filename of the data file.  Your filter can modify 
it any way that you like.  It's just a file once it's passed to the 
filter.  Any more detailed answer probably depends on which framework 
you're using to write your filter.  You could save yourself effort and 
use one of the filters that already exists as a starting point.

courier-pythonfilter, for instance, replaces the entire file with the 
output of spamc.


------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to