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). 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 John