Sam Varshavchik writes: > Patrick O'Reilly writes: >> ..."how-to" mark recipients as delivered... > > http://www.courier-mta.org/queue.html > > "Control File Format" section. I suggest examining a couple of > records in a live queue, until you're familiar with it.
That's great, but it in turn raises a couple of questions. 1) What was that discussion about rewriting messages? One cannot rewrite the message but can rewrite the control file? Then, it would seem advisable that (in the minority of cases) when the filter should alter the message, it just marks any recipients as delivered and then resends the altered message. (Preferably from a different process.) 2) The control file looks quite intricate for an occasional filter writer. Is it planned to have some API, such as get_sender, get_next recipient and the like? Could that be the goal of some sub-project? In case it can be done, I insist that we should devise some (standard?) mechanism that will allow local filters to use the funcionality of a global filter. In that way, a postmaster can factor functions often used in local filters and implement them in C - more efficient, more reliable, no metacharacter headaches. Local filters use those function just as any other mailfilter function they call. Cool? Ale ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
