On Tue, Feb 10, 2004 at 11:10:07AM -0500, Lloyd Zusman wrote:
> Ach, sorry: > > http://www.courier-mta.org/queue.html
Oh ... THAT documentation. I thought that you were referring to a mailing-list discussion link.
Yeah, I forgot about calling "submit" to re-inject the modified message.
But I still have a problem understanding how to mark the message as delivered, even after having read these docs. Here's what I don't understand:
During courierfilter processing, I only have access to the TEMPORARY versions of the message file and the control file. If I change anything in that temporary control file to mark the recipients as having been delivered, that does not change anything in the PERMANENT control file, whose exact location I cannot know during courierfilter processing.
... or did I overlook or misunderstand something in those docs?
From my reading, I understand that submit takes the message, writes the control and data files, and then passes their paths to the filter. So the filter should be able to append "I" records to the control file to mark recipients as "delivered".
The documentation about the queue describes the steps "submit" takes to inject a message into the queue. What is not clear is exactly at which point sumit runs the filters.
Maybe Sam can help here.
It's after the entire message is read, but before the final rename of the control file.
pgp00000.pgp
Description: PGP signature
