John Peacock said the following on 02/23/2006 02:09 AM: > Robin Bowes wrote: > >>Am I doing something wrong, is this a "bug", or is what I'm trying to do >>not possible? > > > Now that I read through the full discussion, I believe Johan was mistaken when > he said that you could add a second queue plugin and it would be called only > if > the real queue plugin suceeded. That is *not* the way that qpsmtpd operates. > The only time multiple plugins will fire for a given hook is if they all > return > DECLINED (see lib/Qpsmtpd.pm:348).
I figured that out for myself, right down the the module and line number! (see my subsequent posts) > This was why the original adaptive plugin hook'd reset_transaction; there > isn't > hook after queue but before post-connection. I think that Johan's earlier > suggestion of looking at the transaction object to see which time you want the > logging to actually emit something (the middle reset_transaction, in other > words). > > HTH About 1 hour ago it would have saved me ... about 1 hour of hacking! R.
