Sander Holthaus - Orange XL wrote: > > I've been semi-succesfull in setting up Courier and Amavisd-new. Everything > works, except that amavisd-new (running as a courierfilter) cannot seem to > add any headers to the message. I don't have a clue where to look for a > solution, besides the config-file and file-permissions, any suggestions?
Global filters (courierfilters) cannot modify messages. A recipe was suggested by Sam a couple years ago in order to drop a message marking it as delivered in the control file. As it turned out, some hacking (but no patching) is needed to accomplish that. Then, the filter might reinject the modified message as a new message. Besides being slightly inefficient, this technique requires special attention in case further global filtering is required, because you cannot control the order that filters are fired and, by default, only messages injected via smtp are filtered. Since local filters _can_ modify messages, a different approach is to design a protocol to allow local filters to learn the results of global filtering and insert extra headers, alternative bodies or whatever. However, this currently requires patching. Ale ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
