It should be possible to add the copy address to the list of envelope recipients from within a courierfilter. This can be achieved by opening the control file in append mode and appending an additional "r" control record[4] with the copy address. However, I'm not entirely sure this would actually cause Courier to deliver the message to the added copy address. (Perhaps someone on this mailing list knows better than I do?)
It's possible, and the latest release of courier-pythonfilter has explicit support for doing that, in the "control" module (addRecipient function):
http://phantom.dragonsdawn.net/~gordon/courier-patches/courier-pythonfilter/courier-pythonfilter-0.8/courier/control.py
There's an example of its use in the "nosuccessdsn" module.
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
