On Wed, 11 Jan 2006 15:19:25 -0500
John Peacock <[EMAIL PROTECTED]> wrote:
> > i.e. nothing changes in the core, and every plugin which wants to
> > use these status codes has to "use" Qpsmtpd::DSN.
>
> This seems like duplication of effort. Shouldn't Qpsmtpd::Plugin just
> include Qpsmtpd::DSN directly? What benefit is there to forcing any
> plugin that wants to return enhanced status calls to manually include
> Qpsmtpd::DSN? Perl should only load it once in any case.
That was on Matt's wishlist before it can be included
<baud> Even a separate class where you go: return Qpsmtpd::DSN->
no_such_user(...) or something
<baud> so we don't have to keep hacking the core.
[...]
<hah> so "return (Qpsmtpd::DSN->relaying_denied(DENY));" instead of
"return $self->qp->dsn->relaying_denied(DENY);" (in rcpt_ok)?
<baud> yes
<baud> (and plugins that want to do that have to "use Qpsmtpd::DSN;")
Hanno