On 20 Sep 2006, at 05:34, Robin Bowes wrote:
Matt Sergeant wrote:
I seriously recommend you check out running under Apache. I suspect
it's
the fastest way to run qpsmtpd (barring experimenting with the poll
server). It's how apache.org have been running qpsmtpd for a long
time now.
Matt,
Can you point me at a document describing how to set this up?
There's pod documentation in the .pm file itself. Basically you need
Apache2 and mod_perl2 installed, and then you just add something like
this to httpd.conf:
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>