On Sun, Jun 13, 2004 at 01:45:15AM -0700, Ask Bj?rn Hansen wrote:
> >It requires a core patch. I wonder if a new return code might not be
> >useful here, so you could do:
> >
> > return CUSTOM, 501, "Syntax error in EHLO argument";
> >
> >Ask - any thoughts on that?
>
> DECLINED / OK / ... has other meanings than just what we return to the
> client.
>
> I think I'd rather see an extension so if the second part of the return
> result is a three digit number we'll pass that back as the code and use
> the third part as the message.
What about making it possible to return a composite there instead, e.g.:
return { action => DENY, code => 501 }, "IP RFC-compliant";
--
Devin \ aqua(at)devin.com, 1024D/E9ABFCD2; http://www.devin.com
Carraway \ IRC: Requiem GCS/CC/L s-:--- !a !tv C++++$ ULB+++$ O+@ P L+++