• YouTube
  • LinkedIn
  • Google

Error when starting Amavisd-new

Two days ago I'm trying to install the software for my new server that will host this blog, my personal projects and my e-mail server.
I'm using as a base this HOWTO.

I had a lot of problems in installation and in particular an error when starting Amavisd-new

Problem in Amavis::DKIM code: Can't locate Crypt/OpenSSL/ in @INC

Googando I saw different ways to solve and no work. That's when I realized something silly, but that's making perfect sense. The packages mentioned, Perl-Mail-DKIM and perl-Crypt-OpenSSL-RSA., pointed to EL5 while the package Amavis pointed to EL6.
Checked that the DAG of rpmforge was using EL5 and correct for my Centos 6.3 was to use the DAG EL6. To correct this item and update packages, VOI-la. Everything worked beautifully.

Follow the steps to the fix

first import the key for the repository
rpm --import
Then uninstall the current (use yum search rpmforge-release to find out the correct name of the package), Download the RPM file and make the installation.

> yum remove rpmforge-release-0.5.2-2.el5.rf.x86_64
> wget
> rpm -i rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

The last step is to synchronize the distribution, that will cause the packages to be replaced by existing in EL5 EL6.
> yum distribution-synchronization

From this point, If there is already done the installation of all packages previously, they should not show this error.

I hope it helped you.

Useful links

Comments (4)

  1. Hello Mark.
    I don't know if you're the same mark this forum,181614

    I just happen to be looking at your code and saw that you know a lot of regular expressions in php, want you to do something like that, If you know how, reply to my email,


  2. Alberto

    Good day Mark,

    I'm also going to abuse your patience! I found the site phpbrasil some your response about digital certification, I noticed that you have experience in the subject (,179263,189979#msg-189979). If it is possible, can I ask you a few questions via email, about loading certificate installed A1?

    If possible could you return my e-mail:

    I appreciate the attention.


  3. Fabiano da Silva

    Look I just want to thank you I have learned a lot from your answers on phpbrasil, every time I needed was doubt there and you already had helped, friend I am your fan, hugs and thanks for helping us. Hugs

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.