> Example: > messages X and Y arrives and are put on HOLD > after analyzation, we know we should prepend a header A to message > X, and route message Y to destination backup > > Is there a way to do that? I thought about multi-instance, but > still can't get the idea how to do it.
I could use several instances to deliver to the correct queue *before* I hold the mail, but I can't do that as at that time it's state is unknown. So what are my options? 1) modify a queued postfix mail by hand Inserting a header would be good enough 2) manually move the queue file to another instance (=spool dir) That would risk duplicate IDs, but I could deliver as I want The goal of all this is we need to wait several minutes for an external process before a routing decision can be done. How else could we control the routing over a long time? Thank you!