On Wed, 13 Feb 2008, Matt Sergeant wrote: > On 13-Feb-08, at 4:34 PM, [EMAIL PROTECTED] wrote: > > > On Wed, 13 Feb 2008, Matt Sergeant wrote: > > > > > Just create a queue plugin which based on whatever criteria you have for > > > dropping returns OK. > > > > > > Run this plugin *before* your real queue plugin. > > > > I notice that the 'relay' plugin returns an OK. Does this mean that > > queue/qmail-queue (listed further down in config/plugins) doesn't run if > > OK gets returned from there? > > > > If that's the case, how does a message via a relay get queued? > > That's a different hook.
I'm not sure I follow you. Do you mean that the relay plugin hooks rcpt, and the queue plugin hooks queue, so the OK returned in the relay plugin doesn't have the same effect as the OK returned in the queue plugin?