There IS a way to do this, it's just a bit ugly (IMHO at least).

Sam says the way is to run your filter and read the message file - do any
rewriting you want to, and inject a new message. The control file can be
modified to indicate successful delivery of the first message, the new
message injected with modified content will take it's place.

I understand the process, but I have a hard time understanding why this is
better than allowing a filter to modify the message. I also have a hard time
understanding WHAT exactly in the message is "cached" (the reason that
direct modification of the message won't work according to what I recall
from Sam's explanation was that there were things in the courier process
that were not re-read from disk during the delivery process...)

Maybe someone should just try it?

Or try the reinjection method suggested by Sam. No database required. Use
the existing filter model.

m/



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to