From: Todd V. <tv...@po...> - 2007-01-02 21:46:49
|
On 12/20/06, Jim Horner <jh...@ar...> wrote: > > Postfix sends one event: > > > > SMFIC_BODYEOB with the last 64kByte of the message body > > > > libmilter delivers this to the application as two events: > > > > SMFIC_BODY with body content > > SMFIC_BODYEOB sans body content > > > > I'm not sure of the right way to fix this but in Context.pm I changed > > elsif ($cmd eq SMFIC_BODYEOB) { > > if (length($buf)) { > # call the body callback > my $sub = $this->{callbacks}{'body'}; > &$sub($this, $buf, length($buf)) if defined($sub); > } > > $this->call_hooks('eom'); > } This looks like the best way to account for it, if libmilter acts as you mention above. I'll add this to CVS. As to when a new release will actually come out... well, it's a new year, maybe I can find time to do things I've put off for way too long, or recruit some folks. 8-) -- -- Todd Vierling <tv...@du...> <tv...@po...> <to...@vi...> |