主题: Configure Amavisd-new chmod: missing operand after `0640'

==== 提供基本信息便于分析问题并得到快速回复 ====
- iRedMail 版本:
- 使用的 Linux/BSD 发行版名称及版本号:
- 与您的问题相关的日志信息:
====

iRedMail 0.8.1

CentOS release 6.3 (Final)  X64

安装过程中报如下错误:
[root@mail iRedMail]# bash iRedMail.sh
< INFO > Checking configuration file: /root/tt/iredmail-0.8.1/iRedMail/config ... [FOUND]
< Question > Use it for mail server setting? [y|N]y
< INFO > Use config file: /root/tt/iredmail-0.8.1/iRedMail/config for mail server setting.
< INFO > Import installation process status from file: /root/tt/iredmail-0.8.1/iRedMail/.status.
/root/tt/iredmail-0.8.1/iRedMail/conf/amavisd: line 83: syntax error near unexpected token `fi'
/root/tt/iredmail-0.8.1/iRedMail/conf/amavisd: line 83: `        fi'
<<< SKIP >>> Skip function: install_all_pkgs.
<<< SKIP >>> Skip function: enable_all_services.
< INFO > ---- Start iRedMail Configurations ----
< INFO > Create SSL certification files.
< INFO > Create required system accounts: vmail, iredapd, iredadmin.
<<< SKIP >>> Skip function: add_user_vmail.
<<< SKIP >>> Skip function: add_user_iredadmin.
<<< SKIP >>> Skip function: add_user_iredapd.
<<< SKIP >>> Skip function: apache_php_config.
<<< SKIP >>> Skip function: mysql_initialize.
<<< SKIP >>> Skip function: mysql_import_vmail_users.
<<< SKIP >>> Skip function: postfix_config_basic.
<<< SKIP >>> Skip function: postfix_config_virtual_host.
<<< SKIP >>> Skip function: postfix_config_sasl.
<<< SKIP >>> Skip function: postfix_config_tls.
<<< SKIP >>> Skip function: policy_server_config.
<<< SKIP >>> Skip function: enable_dovecot2.
<<< SKIP >>> Skip function: clamav_config.
< INFO > Configure Amavisd-new (interface between MTA and content checkers).
chmod: missing operand after `0640'
Try `chmod --help' for more information.
^C

回复: Configure Amavisd-new chmod: missing operand after `0640'

之前没有用户反馈过这个错误,您是否修改过 conf/amavisd 这个文件?而且似乎您在重复安装 iRedMail?

回复: Configure Amavisd-new chmod: missing operand after `0640'

1、没有修改过conf/amavisd
2、因为报错,等待不再继续,只能终止,尝试过修改sh的权限,没有解决。
3、安装包是从https://bitbucket.org/zhb/iredmail/downloads下载的zhb-iredmail-382bb7963a4f.tar.gz和zhb-iredmail-b710c35c88cb.tar.bz2,  (网站http://173.254.22.21/download.html 无法连接,我是chinese uses)

我现在使用0.7.4版的安装没有发现问题。

谢谢!

回复: Configure Amavisd-new chmod: missing operand after `0640'

补充一下安装步骤:

先安装的centos 6.2 mini desktop 选择开发环境
安装完后 yum update
按安装说明安装0.8.1

回复: Configure Amavisd-new chmod: missing operand after `0640'

请选择最新的稳定版进行安装,不要直接从代码仓库里下载最新的代码,因为可能还不稳定,甚至可能有语法错误。

回复: Configure Amavisd-new chmod: missing operand after `0640'

下面的地址我下载遇到问题,能下载的朋友请发邮件给我songzzyy@sina.com  谢谢!
https://bitbucket.org/zhb/iredmail/down … .1.tar.bz2

回复: Configure Amavisd-new chmod: missing operand after `0640'

请自行想办法下载。