On Oct 1, 2009, at 10:53 AM, Atul Paralikar wrote:

[r...@mail qmt]#qmlog spamd

09-14 11:38:14 [8862] error: Can't locate Mail/DomainKeys/Message.pm in @INC (@INC contains: /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib64/ perl5 /site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/ site_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/ 5.8.6/x86_64- linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux- thread-multi

[r...@mail qmt]#cpan
Cpan> Trying with "/usr/bin/links -source" to get
    ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
Going to read /root/.cpan/sources/modules/03modlist.data.gz
Going to write /root/.cpan/Metadata
Mail::DomainKeys::Message is up to date.

[r...@mail qmt]# rpm -qa|grep -i domainkeys
perl-Mail-DomainKeys-1.0-1.el5.rf
libdomainkeys-toaster-0.68-1.3.6

Why SA is not detecting the installed plugin of DomainKeys? How to rectify this?

this is indeed the problem; until you fix this issue, SA will continue to not work.

first things first, don't install Perl modules from CPAN on a RPM- managed system; you will assuredly break things at some point or another, and the problem will be difficult to fix.

i can see that you have the perl-Mail-DomainKeys package from rpmforge installed; this is good. please post the output of the following two commands:

$ rpm -V perl-Mail-DomainKeys
$ rpm -ql perl-Mail-DomainKeys
/usr/lib/perl5/vendor_perl/5.8.8/Mail
/usr/lib/perl5/vendor_perl/5.8.8/Mail/DomainKeys
/usr/lib/perl5/vendor_perl/5.8.8/Mail/DomainKeys.pm
/usr/lib/perl5/vendor_perl/5.8.8/Mail/DomainKeys/Header.pm
/usr/lib/perl5/vendor_perl/5.8.8/Mail/DomainKeys/Key
/usr/lib/perl5/vendor_perl/5.8.8/Mail/DomainKeys/Key.pm
/usr/lib/perl5/vendor_perl/5.8.8/Mail/DomainKeys/Key/Private.pm
/usr/lib/perl5/vendor_perl/5.8.8/Mail/DomainKeys/Key/Public.pm
/usr/lib/perl5/vendor_perl/5.8.8/Mail/DomainKeys/Message.pm
/usr/lib/perl5/vendor_perl/5.8.8/Mail/DomainKeys/Policy.pm
/usr/lib/perl5/vendor_perl/5.8.8/Mail/DomainKeys/Signature.pm
/usr/share/doc/perl-Mail-DomainKeys-1.0
/usr/share/doc/perl-Mail-DomainKeys-1.0/Changes
/usr/share/doc/perl-Mail-DomainKeys-1.0/MANIFEST
/usr/share/doc/perl-Mail-DomainKeys-1.0/META.yml
/usr/share/doc/perl-Mail-DomainKeys-1.0/README
/usr/share/doc/perl-Mail-DomainKeys-1.0/THANKS
/usr/share/man/man3/Mail::DomainKeys.3pm.gz

`rpm -V` should give you no output at all; `rpm -qf` should give you the output as shown above. if you get anything different, then your installed package has been corrupted (perhaps by using CPAN to do a manual install); the fix is to remove perl-Mail-DomainKeys (`sudo rpm - e --nodeps perl-Mail-DomainKeys`) and reinstall it (`sudo yum install perl-Mail-DomainKeys`).

-steve

--
If this were played upon a stage now, I could condemn it as an improbable fiction. - Fabian, Twelfth Night, III,v
http://five.sentenc.es

Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to