> >> I ve an existing amavisd-new installation. And amavisd-new was
> >> installed
> >> from source. The version is amavisd-new-2.6.1 and the patch applied
> is
> >> amavisd-new-2.6.1_policyd-200807052230.patch.
> >>
> >
> > I've found the mistake! It was the Amavis module that wasn't enabled
> in
> > cluebringer config file.
> >
> > BTW: once I modify cluebringer config file, do I ve to restart
> > amavisd-new so that changes takes effect?
> 
> 
> The amavisd module doesn't currently read any settings from the config
> file as far as I recall ... so you don't have to restart it. This will
> change in future though.
> 

Thanks a lot.

I would be pleased to understand how policyd better.. When the config
file /etc/ cluebringer.conf is read?

> >> What do you mean for 'verbatim'?
> >>
> >>>> 2) In /etc/cluebringer.conf I have set:
> >>>>
> >>>> log_level=4
> >>>> log_file=/var/log/cbpolicyd.log
> >>>> log_mail=maillog
> >>>> log_detail=modules,tracking,policies,protocols
> >>>>
> >>>> and /var/log/cbpolicyd.log is always empty.
> >>> Try run policyd in foreground and see if it can open the logfile
or
> >> if
> >>> its spewing out any errors.
> >> How I have to do?
> 
> Check the commandline options
>     ./cbpolicyd --help
> 
> Enable debug and run in foreground.

Uauh!  :-)

I get the following notable output:

[2008/10/22-15:39:11 - 4461] [CORE] NOTICE:   => CheckHelo: enabled
[2008/10/22-15:39:11 - 4461] [CBPOLICYD] WARNING: Error loading plugin
modules/CheckSPF (Can't locate Mail/SPF.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
/usr/local/lib/policyd-2.0/cbp/modules/CheckSPF.pm line 29.
BEGIN failed--compilation aborted at
/usr/local/lib/policyd-2.0/cbp/modules/CheckSPF.pm line 29.
Compilation failed in require at (eval 13) line 2.
BEGIN failed--compilation aborted at (eval 13) line 2.
)
[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.

BEGIN failed--compilation aborted at (eval 16) line 2.
)
[2008/10/22-15:39:11 - 4461] [CORE] NOTICE:   => Protocol(Postfix):
enabled
Use of uninitialized value in concatenation (.) or string at
/usr/local/bin/cbpolicyd line 218.
Use of uninitialized value in concatenation (.) or string at
/usr/local/bin/cbpolicyd line 218.
Use of uninitialized value in concatenation (.) or string at
/usr/local/bin/cbpolicyd line 218.
[2008/10/22-15:39:11 - 4461] [CBPOLICYD] WARNING: Error loading plugin
protocols/#Bizanga (Can't locate cbp/protocols/.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
18) line 2.

BEGIN failed--compilation aborted at (eval 18) line 2.
)

So there is some missetting.. :-(

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

Reply via email to