While I have yet to fire an email through, this one change is necessary to
get the listener up:
--- lib/Apache/Qpsmtpd.pm.orig 2005-02-21 13:01:08.000000000 -0600
+++ lib/Apache/Qpsmtpd.pm 2005-02-21 12:57:46.000000000 -0600
@@ -144,7 +144,7 @@ sub respond {
my $bb = $self->{bb_out};
my $line = $code . (@messages?"-":" ").$msg;
$self->log(LOGDEBUG, $line);
- my $bucket = APR::Bucket->new("$line\r\n");
+ my $bucket = APR::Bucket->new(($c->bucket_alloc), "$line\r\n");
$bb->insert_tail($bucket);
$c->output_filters->fflush($bb);
$bucket->remove;
This is with:
[Mon Feb 21 12:57:53 2005] [notice] Apache/2.0.53 (Unix) mod_perl/1.99_17
Perl/v5.8.6 DAV/2 configured -- resuming normal operations
peter