Thanks for responses. Ready to update as soon as its available.
On Sat, 2008-04-19 at 05:16 +, Nigel Kukard wrote:
>
> > > This should be included in your Perl installation :-) So, download it
> > > from your fedora repository and install. Else, use CPAN.
> > >
> > > On 17-04-08 22:00, Maple Thorpe wrote:
> > > > I using Fedora Core 8 and downloaded cluebringer-snapshot-200803151435].
> > > > Where is IniFiles.pm?
> > > >
> > > > perl /usr/local/bin/cbpolicyd
> > > > Can't locate Config/IniFiles.pm in @INC (@INC
> > > > contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
> > > > /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
> > > > /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
> > > > /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
> > > > /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
> > > > /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
> > > > /usr/lib/perl5/site_perl
> > > > /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
> > > > /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
> > > > /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
> > > > /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
> > > > /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
> > > > /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
> > > > /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi
> > > > /usr/lib/perl5/5.8.8 .) at /usr/local/bin/cbpolicyd line 29.
> > > > BEGIN failed--compilation aborted at /usr/local/bin/cbpolicyd line 29.
>
> > Hopefully, I am near a successful installation.
> >
> > Cluebringer and missing perl modules are installed
> >
> > Remaining complaints:
> > +++
> > Searched CPAN. Mail::SPF::qv unknown
> > ===
> > /var/log/cbpolicyd.log
> > ===
> > [2008/04/18-04:49:34 - 15742] Process Backgrounded
> > [2008/04/18-04:49:34 - 15742] Initializing system modules.
> > [2008/04/18-04:49:34 - 15742] System modules initialized.
> > [2008/04/18-04:49:34 - 15742] Module load started...
> > [2008/04/18-04:49:34 - 15742] => AccessControl: enabled
> > [2008/04/18-04:49:34 - 15742] => CheckHelo: enabled
> > [2008/04/18-04:49:34 - 15742] WARNING: Error loading plugin
> > modules/CheckSPF (Undefined subroutine &Mail::SPF::qv called
> > at /usr/lib/perl5
> > /site_perl/5.8.8/Mail/SPF.pm line 24.
> > Compilation failed in require at cbp/modules/CheckSPF.pm line 29.
> > BEGIN failed--compilation aborted at cbp/modules/CheckSPF.pm line 29.
> > Compilation failed in require at (eval 15) line 2.
> > BEGIN failed--compilation aborted at (eval 15) line 2.
> >
> > NOTE:
> > cpan -i Mail::SPF
> > CPAN: File::HomeDir loaded ok (v0.69)
> > CPAN: Storable loaded ok (v2.18)
> > Going to read /root/.cpan/Metadata
> > Database was generated on Fri, 18 Apr 2008 05:29:51 GMT
> > Mail::SPF is up to date (v2.005).
>
> You don't need to load the CheckSPF module in the config file if you
> don't want SPF support.
>
> Can you try latest SVN checkout of cluebringer?
>
> > +++
> > Patched Amavisd produces:
> > ===
> > /var/log/maillog (snippet)
> > ===
> > Apr 18 07:27:59 brey amavis[16084]: (16084-09) (!)custom new err:
> > Undefined subroutine &cbp::dblayer::DBConnect called
> > at /usr/local/include//amavisd-policyd.pm line 115, line 1086.
> > Apr 18 07:28:06 brey amavis[16084]: (16084-09) (!)SA failed: Can't
> > locate object method "get_tag" via package
> > "Mail::SpamAssassin::PerMsgStatus" at (eval 87) line 410. at (eval 87)
> > line 432.
> >
> > NOTE:
> > cpan -i Mail::SpamAssassin::PerMsgStatus
> > CPAN: File::HomeDir loaded ok (v0.69)
> > CPAN: Storable loaded ok (v2.18)
> > Going to read /root/.cpan/Metadata
> > Database was generated on Fri, 18 Apr 2008 05:29:51 GMT
> > Mail::SpamAssassin::PerMsgStatus is up to date (undef).
> > ===
> > /usr/local/include//amavisd-policyd.pm
> > ===
> > # Cluebringer policy support for amavisd-new
> > # Copyright (C) 2008, LinuxRulz
> > ...
> > package Amavis::Custom;
> > use strict;
> >
> > # use lib('/root/cluebringer-trunk');
> > use lib('/usr/local/bin/cbp');
> >
> > my $DB_dsn = "DSN=mysql:host=localhost;dbname=policydv2";
> > my $DB_user = "policyd";
> > my $DB_pass = "AAABBB";
> >
> > ===
> > NOTE:
> >
> > >From the commandline mysql -u policyd -p policydv2 work