[Kolab-devel] [issue962] Error in amavisd debug mode > Module Net::DNS missing for Mail::SpamAssassin::Plugin::URIDNSBL

Andrea kolab-issues at intevation.de
Thu Oct 20 13:56:31 CEST 2005


New submission from Andrea <soliva at comcept.ch>:

On a default Installation of Kolab2 V2.0.1 (Solaris 8 sparc sun4u) if you 
launch amavisd in debug mode you will receive depending 
Mail::SpamAssassin::Plugin::URIDNSBL Plugin (defined in init.pre) an error 
about missing Module Net::DNS. To solve the problem in the actual config I did 
the following:

Enable debug mode for amavisd:

# vi /kolab/etc/kolab/templates/amavisd.conf.template 

$sa_debug = 1;            # defaults to false 

Activate config from template to real file: 

/kolab/sbin/kolabconf -n 
 
Now you can use the debug command and you will see all information 
depending amavisd: 

/kolab/sbin/amavisd \ 
-c /kolab/etc/amavisd/amavisd.conf debug 
 
If you like to test on a particular user use: 
 
su - kolab-r -c /kolab/sbin/amavisd \ 
-c /kolab/etc/amavisd/amavisd.conf debug 

To run the debug mode as user is not really neccessary because amavisd 
would change the user anyway to kolab-r! Do not forgett to switch back 
because the logging of the debug is horrible if you have quit a lot of 
traffic on the server! 
 
To install the Module Net::DNS do the following:

Module Net::DNS            0.53 (Perl interface to the DNS resolver) 
http://search.cpan.org/CPAN/authors/id/O/OL/OLAF/Net-DNS-0.53.tar.gz 
 
To be installed manueally: 

opa /kolab 
gzip -dc Net-DNS-0.53.tar.gz | tar xvf - 
cd Net-DNS-0.53
/kolab/bin/perl Makefile.PL 
make 
make test 
make install 

To be installed with cpan: 

opa /kolab 
/kolab/bin/perlperl -MCPAN -e shell 
cpan > install Net::DNS 

Do the debug test again and you will see no error anymore!

----------
files: Net-DNS-0.53.tar.gz
messages: 5744
nosy: soliva
priority: bug
status: unread
title: Error in amavisd debug mode > Module Net::DNS missing for Mail::SpamAssassin::Plugin::URIDNSBL
topic: server
________________________________________________
Kolab issue tracker <kolab-issues at intevation.de>
<https://intevation.de/roundup/kolab/issue962>
________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Net-DNS-0.53.tar.gz
Type: application/x-tar
Size: 119705 bytes
Desc: not available
URL: <http://lists.kolab.org/pipermail/devel/attachments/20051020/c406e247/attachment.tar>


More information about the devel mailing list