> > > [2008/10/22-15:39:11 - 4461] [CORE] NOTICE:   => Greylisting:
> enabled
> > > [2008/10/22-15:39:11 - 4461] [CORE] NOTICE:   => Quotas: enabled
> > > [2008/10/22-15:39:11 - 4461] [CBPOLICYD] WARNING: Error loading
> > plugin
> > > modules/Amavis (Can't locate cbp/modules/Amavis.pm in @INC (@INC
> > > contains: /usr/local/lib/policyd-2.0 /usr/lib/policyd-2.0
> > > /usr/lib/perl5/5.8.3/i586-linux-thread-multi /usr/lib/perl5/5.8.3
> > > /usr/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi
> > > /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl
> > > /usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi
> > > /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl .) at
> > (eval
> > > 16) line 2.
> >
> >
> > Did you properly install Policyd v2?  its saying it cannot find the
> > modules.
> 
> >From INSTALL document:
> 
> ===================
> 8. Copy amavisd-policyd.pm where you see fit, and add this
> configuration
> line to
>  your amavisd.conf file...
> include_config_files('/path/to/amavisd-policyd.pm');
> ===================
> 
> DONE:
> 
> include_config_files('/usr/local/cluebringer/amavisd-policyd.pm');
> 
> at top of /etc/amavisd.conf:
> 
> ===================
> use strict;
> include_config_files('/usr/local/cluebringer/amavisd-policyd.pm');
> 
> # a minimalistic configuration file for amavisd-new with all necessary
> settings
> #
> #
> .
> .
> ===================
> 
> Still from INSTALL document:
> 
> ===================
> 9. Edit the top of amavisd-policyd.pm and change ...
> use lib('/root/cluebringer-trunk');  # to point to the directory which
> contains
> cbp/
> ===================
> 
> DONE:
> 
> in '/usr/local/cluebringer/amavisd-policyd.pm':
> 
> ===================
> package Amavis::Custom;
> use strict;
> 
> use lib('/usr/local/lib/policyd-2.0');
> ===================
> 
> Where:
> 
> # ls -la /usr/local/lib/policyd-2.0
> 
> drwxr-xr-x  6 root root  4096 Oct 20 16:04 .
> drwxr-xr-x  6 root root  4096 Oct 22 15:16 ..
> -rw-r--r--  1 root root  3673 Oct 20 09:14 cache.pm
> drwxr-xr-x  5 root root  4096 Oct 20 16:09 cbp
> -rw-r--r--  1 root root  1548 Oct 20 09:14 config.pm
> drwxr-xr-x  2 root root  4096 Oct 20 09:14 database
> -rw-r--r--  1 root root  5241 Oct 20 09:14 dbilayer.pm
> -rw-r--r--  1 root root  4342 Oct 20 09:14 dblayer.pm
> -rw-r--r--  1 root root   335 Oct 20 09:14 dummy.pm
> -rw-r--r--  1 root root   436 Oct 20 09:14 logging.pm
> drwxr-xr-x  2 root root  4096 Oct 20 09:14 modules
> -rw-r--r--  1 root root 16653 Oct 20 09:14 policies.pm
> drwxr-xr-x  2 root root  4096 Oct 20 09:14 protocols
> -rw-r--r--  1 root root  1562 Oct 20 09:14 protocols.pm
> -rw-r--r--  1 root root  2875 Oct 20 09:14 system.pm
> -rw-r--r--  1 root root 10888 Oct 20 09:14 tracking.pm
> -rw-r--r--  1 root root  1049 Oct 20 09:14 version.pm

I have launched twice the command:

# cp -r cbp /usr/local/lib/policyd-2.0/

:-(

But the problem is that really cbp/modules/Amavis.pm doesn't exists!!
How could I get it? Or I have to disable Amavis module necessarily?

rocsca
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to