man Apache::Qpsmtpd () - a mod_perl-2 connection handler for qpsmtpd

NAME

Apache::Qpsmtpd - a mod_perl-2 connection handler for qpsmtpd

SYNOPSIS

  Listen 0.0.0.0:25

  LoadModule perl_module modules/mod_perl.so

  <Perl>
  use lib qw( /path/to/qpsmtpd/lib );
  use Apache::Qpsmtpd;
  </Perl>

  <VirtualHost _default_:25>
  PerlSetVar QpsmtpdDir /path/to/qpsmtpd
  PerlModule Apache::Qpsmtpd
  PerlProcessConnectionHandler Apache::Qpsmtpd
  PerlSetVar qpsmtpd.loglevel 4
  </VirtualHost>

DESCRIPTION

This module implements a mod_perl/apache 2.0 connection handler that turns Apache into an SMTP server using Qpsmtpd.

It also allows you to set single-valued config options (such as loglevel, as seen above) using CWPerlSetVar in httpd.conf.

This module should be considered beta software as it is not yet widely tested. However it is currently the fastest way to run Qpsmtpd, so if performance is important to you then consider this module.

BUGS

Currently the check_early_talker plugin will not work because it relies on being able to do CWselect() on STDIN which does not work here. It should be possible with the next release of mod_perl to do a CWpoll() on the socket though, so we can hopefully get that working in the future.

Other operations that perform directly on the STDIN/STDOUT filehandles will not work.

AUTHOR

Matt Sergeant, <matt@sergeant.org>

Some credit goes to <mock@obscurity.org> for Apache::SMTP which gave me the inspiration to do this.