Amvisd Fails in Virtual Users & Domains w/Postfix, Courier, MySQL, SquirrelMail

Discussion in 'HOWTO-Related Questions' started by need_a_linux_brain, Oct 20, 2009.

  1. need_a_linux_brain

    need_a_linux_brain New Member

    Amvisd Fails in Virtual Users & Domains w/Postfix, Courier, MySQL, SquirrelMail

    I'm attempting to get through this How-to so I can have email on my Centos dedicated 64-bit, virtualized server running kernel-2.6.18-128.2.1.el5. When I run "/etc/init.d/amavisd start" or attempt to start the service manually using Webmin, I get the following output:

    Starting Mail Virus Scanner (amavisd): Problem in Amavis::DKIM code: Can't locate Mail/DKIM/Verifier.pm in @INC (@INC contains: /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 /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/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-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/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8) at (eval 82) line 28.
    BEGIN failed--compilation aborted at (eval 82) line 28. [FAILED]

    I believe located the plugin here: /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/Plugin/DKIM.pm. But, I'm uncertain where the @INC file is located (though I tried to search using both "locate" and "find").

    I already upgraded the Mail-DKIM package from version 24 to 31, which was the first error message I got. I wasn't able to install one of the dependencies, perl-base, because "/usr/share/man/man3/fields.3pm.gz" conflicted with perl-5.8.8.

    Any suggestions?

    Thanks. I look forward to helpful input that will help me solve this problem.

    NALB
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Go to the PERL shell...
    Code:
    perl -MCPAN -e shell
    ... and run
    Code:
    install Mail::DKIM::Verifier
    Type
    Code:
    q
    to leave the PERL shell afterwards.
     

Share This Page