develooper Front page | perl.qpsmtpd | Postings from September 2007

Re: Does the received_line hook work in 0.40?

Thread Previous | Thread Next
From:
John L
Date:
September 14, 2007 05:15
Subject:
Re: Does the received_line hook work in 0.40?
Message ID:
20070914080842.D18242@simone.iecc.com
> How/what do you return from your hook_received_line()? The first value
> should be the "OK" constant, the second the received line. Any other
> value than OK, will ignore the results from your hook.

It's clearly returning OK.  Here's what the debug log says:

34169 Plugin messagelog, hook received_line returned OK, from simone.iecc.com (HELO simone) (208.31.42.47)
   by mail1.iecc.com with SMTP id 1 (qpsmtpd/0.40.1J) ; Thu, 13 Sep 2007 23:19:57 -0400

Looking at the code, I don't see how the hook can work without being
split into two parts like all the other hooks.

Regards,
John Levine, johnl@iecc.com, Primary Perpetrator of "The Internet for Dummies",
Information Superhighwayman wanna-be, http://www.johnlevine.com, ex-Mayor
"More Wiener schnitzel, please", said Tom, revealingly.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About