develooper Front page | perl.qpsmtpd | Postings from June 2006

new patch for 251/551 (~/.redirect)

Thread Previous | Thread Next
Robert Millan
June 22, 2006 12:18
new patch for 251/551 (~/.redirect)
Message ID:
On Mon, Jun 19, 2006 at 10:53:08AM -0400, Matt Sergeant wrote:
> On 19-Jun-06, at 7:31 AM, Peter J. Holzer wrote:
> >Which reminds me: I think we should move to a more flexible system of
> >return codes
> We do. $self->qp->respond(CODE, @MESSAGE); return DONE;
> (that's why we have the DONE return code).

New patch.  This time using $self->qp->respond to avoid modifying the core.

Taking advantage of this, I also implemented code 251, just for completeness
(when ~/.forward exists, it'll return 251.  Otherwise 551).

Robert Millan

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About