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

2008-02-14 Thread Larry Nedry
On 2/13/08 at 5:08 PM -0600 Larry Nedry wrote: >On 2/13/08 at 10:08 PM +0100 Peter J. Holzer wrote: >>To drop just write a queueing plugin which doesn't actually queue the >>message. > >If you don't queue the message, how does it get delivered? Duh. Missed the keyword "drop". It has been a long

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

2008-02-14 Thread Peter J. Holzer
On 2008-02-13 17:08:07 -0600, Larry Nedry wrote: > On 2/13/08 at 10:08 PM +0100 Peter J. Holzer wrote: > >With "redirect" I assume you want to send the message to some other > >address(es). Just alter the list of recipients. See for example the > >spamassassin plugin or the aliases_rewrite plugin (

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: [qpsmtpd] how to accept msg and drop or redirect?

2008-02-13 Thread Matt Sergeant
On 13-Feb-08, at 5:19 PM, [EMAIL PROTECTED] wrote: 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 plugi

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

2008-02-13 Thread Larry Nedry
On 2/13/08 at 10:08 PM +0100 Peter J. Holzer wrote: >With "redirect" I assume you want to send the message to some other >address(es). Just alter the list of recipients. See for example the >spamassassin plugin or the aliases_rewrite plugin (in contrib). > >To drop just write a queueing plugin whic

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 Matt Sergeant
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. Thanks for the reply. I notice that the 'relay' plug

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 Peter J. Holzer
On 2008-02-13 20:31:08 +, [EMAIL PROTECTED] wrote: > 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

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

2008-02-13 Thread Matt Sergeant
On 13-Feb-08, at 3:31 PM, [EMAIL PROTECTED] wrote: 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 addr

[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,