[qpsmtpd] how to accept msg and drop or redirect?

2008-02-13 Thread a-rope . net-sub-qp
I'm using forkserver 0.32. I've have a need to either drop or redirect certain messages after accepting them. In other words, I do not want to reject the connection, but I also do not want to make the delivery to the provided recipient address. I can identify certain factors in plugins I have now,

Re: [qpsmtpd] how to accept msg and drop or redirect?

2008-02-13 Thread a-rope . net-sub-qp
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. Thanks for the reply. I notice that the 'relay' plugin returns an OK. Does this mean that queue/qmail-q

Re: [qpsmtpd] how to accept msg and drop or redirect?

2008-02-13 Thread a-rope . net-sub-qp
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 rea

Re: [qpsmtpd] how to accept msg and drop or redirect?

2008-02-13 Thread a-rope . net-sub-qp
On Wed, 13 Feb 2008, Matt Sergeant wrote: > On 13-Feb-08, at 5:19 PM, [EMAIL PROTECTED] wrote: > > > > That's a different hook. > > > > 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

Re: Mailling loop detection

2008-02-16 Thread a-rope . net-sub-qp
I've been using the following, though I don't recall how I obtained it. I checked my logs (28 days worth) and it hasn't rejected anything in that time. I haven't done any direct testing. == #!/usr/bin/perl =head1 NAME loops