[root@mail ~]# tar jxf iRedMail-0.7.1.tar.bz2
[root@mail ~]# cd iRedMail-0.7.1/pkgs/
[root@mail pkgs]# sh get_all.sh
< INFO > Generating yum repository ...
< INFO > Fetching Source Tarballs ...
< INFO > + 1/5: http://iredmail.org/yum/misc/iRedAPD-1.3.5.tar.bz2
< INFO > + 2/5: http://iredmail.org/yum/misc/iRedAdmin-0.1.4.tar.bz2
< INFO > + 3/5: http://iredmail.org/yum/misc/phpldapadmin-1.2.0.5.tgz
< INFO > + 4/5: http://iredmail.org/yum/misc/roundcubemail-0.5.2.tar.gz
< INFO > + 5/5: http://iredmail.org/yum/misc/phpMyAdmin … es.tar.bz2
< INFO > Validate Packages ...  [ OK ]
< INFO > Installing package(s): dialog.i386
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
iRedMail-Dovecot-12       100% |=========================|  951 B    00:00     
iRedMail                  100% |=========================|  951 B    00:00     
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 3.6 kB    00:00     
################################################## 8/8
primary.xml.gz            100% |=========================|  99 kB    00:00     
################################################## 334/334
Parsing package install arguments
No Match for argument: dialog.i386
Nothing to do
********************************************************
* All tasks had been finished successfully. Next step:
*
*   # cd ..
*   # bash iRedMail.sh
*
********************************************************

[root@mail pkgs]# cd ..
[root@mail iRedMail-0.7.1]# bash iRedMail.sh
< INFO > Installing package(s): dialog.i386
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: dialog.i386
Nothing to do
< INFO > Check configuration file: /root/iRedMail-0.7.1/config...       None.
/root/iRedMail-0.7.1/dialog/config_via_dialog.sh: line 47: dialog: command not found
< INFO > Exit.
[root@mail iRedMail-0.7.1]# chmod 755 /root/iRedMail-0.7.1/config
[root@mail iRedMail-0.7.1]# bash iRedMail.sh
< INFO > Installing package(s): dialog.i386
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: dialog.i386
Nothing to do
< INFO > Check configuration file: /root/iRedMail-0.7.1/config...       Found, but not finished.
/root/iRedMail-0.7.1/dialog/config_via_dialog.sh: line 47: dialog: command not found
< INFO > Exit.
[root@mail iRedMail-0.7.1]#

安装失败………………