1

Topic: Cent OS not campatible with iRedMail (amavisd-new can't run on CentOS)

==== Required information ====
- iRedMail version: last
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version: Cent OS (don't know - the last one I guess)
- Related log if you're reporting an issue:
====

Log file of the problem:

Error: Package: amavisd-new-2.8.0-8.el6.noarch (epel)
           Requires: /etc/clamd.d
           Available: clamd-0.98.1-1.el6.x86_64 (epel)
               Not found
           Installed: clamd-0.98.1-1.el6.rf.x86_64 (@rpmforge)
               Not found
           Available: clamd-0.97.7-1.el6.rf.i686 (iRedMail)
               Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Is there a way to disable amavisd-new until that it'll work with Cent OS?

thanks!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Cent OS not campatible with iRedMail (amavisd-new can't run on CentOS)

You should follow our installation guide STRICTLY:
http://www.iredmail.org/install_iredmai … able_repos

For CentOS or Scientific Linux, please enable CentOS/Scientific official yum repositories, and DISABLE all third-party yum repositories to avoid package conflict.

3

Re: Cent OS not campatible with iRedMail (amavisd-new can't run on CentOS)

ZhangHuangbin wrote:

You should follow our installation guide STRICTLY:

Yes.... somehow I missed the secret section describing how to install or disable amavisd-new in centos.... smile

Some day when I'll managed to fight with all the tons of parameters to configure in both postfix and dovecot only to install the most basic mail server, I promise to publish the configuration files so everyone else will be able to setup a mail server out of the box.

4

Re: Cent OS not campatible with iRedMail (amavisd-new can't run on CentOS)

i really don't understand your point.

To install iRedMail, what you need to do is just following our installation guide strictly. After installation, you get all sample config files. I guess you need a book, or a full tutorial describes how to install and configure every components step-by-step, not iRedMail. iRedMail just does them all for you.

5

Re: Cent OS not campatible with iRedMail (amavisd-new can't run on CentOS)

ZhangHuangbin wrote:

i really don't understand your point.

To install iRedMail, what you need to do is just following our installation guide strictly. After installation, you get all sample config files. I guess you need a book, or a full tutorial describes how to install and configure every components step-by-step, not iRedMail. iRedMail just does them all for you.

Yes, it should install everything for you but it's not really working in real life (see my first post).

Anyway, I managed to install postfix/dovecot in basic configuration. Took me 2 days but it's working.

6

Re: Cent OS not campatible with iRedMail (amavisd-new can't run on CentOS)

Please, the problem is package conflict due to you have both EPEL and rpmforge yum repositories enabled. And our installation guide clearly mention you should "enable CentOS/Scientific official yum repositories, and DISABLE all third-party yum repositories to avoid package conflict."

Is it clear now?

7 (edited by Gary Naj 2014-04-25 03:18:11)

Re: Cent OS not campatible with iRedMail (amavisd-new can't run on CentOS)

Hi Sandbird this is not Jesus Christ talking but Im gonna try to save your ass before you turn into Sandman and collapse everything in your way. Try to follow these steps:

http://wiki.centos.org/HowTos/Amavisd --- before you follow these read below

rpm -qa | grep perl-Compress-Raw-Zlib
rpm -e perl-Compress-Raw-Zlib-2.x.x.x (old version)

sudo yum install perl-Compress-Raw-Zlib-2.052-1.el6.rfx.i686
sudo yum install lzop-1.02-0.9.rc1.el6.i686

You have 2 options 3 areas of concerns, your options are you chose either all EPEL or all RPMFORGE as your sole repo. you will blacklist all your subject  of downloads in one of them. This method is all RPMFORGE. The main reason you have EPEL is to download lzo file that is required by amavisd-new and can be nothing else, the rest are from RPMFORGE. The 3 areas of your concerns are the CentOS-Base.repo, epel.repo and rpmforge.repo. which can be found in /etc/yum.repos.d/ I want you to edit that and paste this blacklist

CentOS-Base.repo
[base]
exclude=spamassassin*,perl-Compress-Raw-Zlib*,perl-Compress-Raw-Bzip2*
...
[updates]
exclude=spamassassin*,perl-Compress-Raw-Zlib*,perl-Compress-Raw-Bzip2*

epel.repo
[epel]
exclude=clam* amavisd*

rpmforge.repo (enable rpmforge-extras)
[rpmforge-extras]
...
enabled = 1


Update me your output

$ sudo service amavisd start
Starting Mail Virus Scanner (amavisd): fetch_modules: error loading optional module MIME/Decoder/BinHex.pm:
  Can't locate Convert/BinHex.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5) at /usr/share/perl5/vendor_perl/MIME/Decoder/BinHex.pm line 43.
  BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/MIME/Decoder/BinHex.pm line 43.
  Compilation failed in require at /usr/sbin/amavisd line 205.
                                                           [  OK  ]

8

Re: Cent OS not campatible with iRedMail (amavisd-new can't run on CentOS)

also I see

   Available: clamd-0.97.7-1.el6.rf.i686 (iRedMail)
               Not found

is that a repo? blacklist clam* from that

9

Re: Cent OS not campatible with iRedMail (amavisd-new can't run on CentOS)

Gary Naj wrote:

also I see
   Available: clamd-0.97.7-1.el6.rf.i686 (iRedMail)
               Not found
is that a repo? blacklist clam* from that

In the latest iRedMail-0.8.6, it uses ClamAV from EPEL yum repo.

10

Re: Cent OS not campatible with iRedMail (amavisd-new can't run on CentOS)

Wo kei shuo ydiar Linux Language ahahahhaa!!!

11

Re: Cent OS not campatible with iRedMail (amavisd-new can't run on CentOS)

Gary Naj wrote:

Wo kei shuo ydiar Linux Language ahahahhaa!!!

Bad Chinese PinYin. big_smile