Re: per-recipient handling

2008-11-18 Thread Jared Johnson
This looks like it can be done in a plugin and by adding a check for the second parameter of Qpsmtpd::config(): - in hook_rcpt replace the given Qpsmtpd::Address object by a Qpsmtpd::Recipient object (similar to yours?). For replacing: see http://www.nntp.perl.org/group/perl.qpsmtpd/2008/10

Re: per-recipient handling

2008-11-16 Thread Peter J. Holzer
On 2008-11-14 19:19:01 +0100, Hanno Hecker wrote: > On Mon, 10 Nov 2008 10:42:15 -0600 > Jared Johnson <[EMAIL PROTECTED]> wrote: > > * I invented my own Qpsmtpd::Recip object that subclasses > > Qpsmtpd::Address and supports a ->config() method similar to > > $self->qp->config > [...] > > Step 1

Re: per-recipient handling

2008-11-14 Thread Hanno Hecker
Hi Jared, On Mon, 10 Nov 2008 10:42:15 -0600 Jared Johnson <[EMAIL PROTECTED]> wrote: > * I invented my own Qpsmtpd::Recip object that subclasses > Qpsmtpd::Address and supports a ->config() method similar to > $self->qp->config [...] > Step 1: Add per-recipient configuration > > This in itsel