Skip Menu |

This queue is for tickets about the Sendmail-PMilter CPAN distribution.

Report information
The Basics
Id: 51713
Status: resolved
Priority: 0/
Queue: Sendmail-PMilter

People
Owner: Nobody in particular
Requestors: FWIE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.97
Fixed in: 1.20_01



Subject: [Patch] POD nit
The attached patch (against 0.97) fixes some POD, which renders wrong, at least at search.cpan.org.
Subject: pod.patch
diff --git a/lib/Sendmail/PMilter.pm b/lib/Sendmail/PMilter.pm index 54e85d7..a6ffcfa 100644 --- a/lib/Sendmail/PMilter.pm +++ b/lib/Sendmail/PMilter.pm @@ -404,7 +404,7 @@ will be passed the arguments: MILTER is the milter object currently running. LSOCKET is a listening socket (an instance of C<IO::Socket>), upon which C<accept()> should be called. HANDLER is a subroutine reference which should be called, passing -the socket object returned by C<LSOCKET->accept()>. +the socket object returned by C<< LSOCKET->accept() >>. Note that the dispatcher may also be set from one of the off-the-shelf dispatchers noted in this document by setting the PMILTER_DISPATCHER diff --git a/lib/Sendmail/PMilter/Context.pm b/lib/Sendmail/PMilter/Context.pm index 9540c39..67b416a 100644 --- a/lib/Sendmail/PMilter/Context.pm +++ b/lib/Sendmail/PMilter/Context.pm @@ -533,7 +533,7 @@ sub setreply ($$$$) { =item $ctx->shutdown() -A special case of C<$ctx->setreply()> which sets the short numeric reply +A special case of C<< $ctx->setreply() >> which sets the short numeric reply code to 421 and the ESMTP code to 4.7.0. Under Sendmail 8.13 and higher, this will close the MTA's communication channel quickly, which should immediately result in a "close" callback and end of milter execution.
pushed to avar's github repo in e67777b
On Thu Nov 19 22:24:18 2009, MSCHOUT wrote: Show quoted text
> pushed to avar's github repo in e67777b
Now released in 0.98.