On 12/15/07 8:26 AM, "Robin Bowes" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I'm setting up qpsmtpd with apache, the RPMs.
> 
> Is this the right "use lib ..." line:
> 
>   use lib qw( /usr/lib/perl5/site_perl/Qpsmtpd );
> 
> And what do I use for the QpsmtpdDir? Would that be:
> 
>   PerlSetVar QpsmtpdDir /etc/qpsmtpd
> 
> i.e. pointing to the config dir?
> 

Yes and yes -- if that's where the they get installed.  My non-RPM config
ends up like below:

diablo# cat qpsmtpd.conf
User smtpd
Group users

Listen 0.0.0.0:25

LoadModule perl_module lib/httpd/mod_perl.so

<Perl>
  use lib qw( /home/smtpd/qpsmtpd/lib );
  use Apache::Qpsmtpd;
</Perl>

<VirtualHost _default_:25>
  PerlSetVar QpsmtpdDir /home/smtpd/qpsmtpd
  PerlModule Apache::Qpsmtpd
  PerlProcessConnectionHandler Apache::Qpsmtpd
  PerlSetVar qpsmtpd.loglevel 7
</VirtualHost>

diablo# 

peter

Reply via email to