Jérôme Blion wrote: > Do you mean it's now possible to modify mail contents without generating > a new mail?
Yes, it has been since 1.0, released in December of last year. > I sent me a mail, which has been filtered. I saw only one mail (local is > filtered too) > > If that's the case, we could add any headers we would want ? (to add > clamav header, for example) Yes, if that's what you want to do. README.hacking has a very brief example of using the XFilter class. Basically, you use getMessage() to get a Python representation of the message, transform it in any way that you need and submit(). The XFilter class will take care of the rest (whatever is supported by the version of Courier that you're running). XFilter is used by the spamassassin and add_signature filters if you're interested in more examples. > By the way, thank you for this update :-) > Jerome Blion. You're welcome. :) I'm glad it's useful. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
