主题: 大陆翻墙后依然不能按照iredmail

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:iRedMail-0.9.2]
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):未能成功安装
- 使用的 Linux/BSD 发行版名称及版本号:centos and ubuntu
- 与您的问题相关的日志信息:未找到
====


====================================================================
[ INFO ] Checking new version of iRedMail ...
[ INFO ] Preparing yum repositories ...
[ INFO ] Installing package(s): epel-release
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirrors.btte.net
* extras: mirrors.btte.net
* updates: mirrors.sina.cn
http://iredmail.org/yum/rpms/6/repodata/repomd.xml: [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: iRedMail. Please verify its path and try again
[ INFO ] Fetching source tarballs ...
[ INFO ] + 1 of 3: http://iredmail.org/yum/misc/iRedAdmin-0.4.2.tar.bz2
[ INFO ] + 2 of 3: http://iredmail.org/yum/misc/iRedAPD-1.6.0.tar.bz2
[ INFO ] + 3 of 3: http://iredmail.org/yum/misc/roundcubem … ete.tar.gz
[ INFO ] Validate packages ...md5sum: WARNING: 1 of 3 computed checksums did NOT match
misc/roundcubemail-1.1.1-complete.tar.gz: FAILED
        [ FAILED ]
<< ERROR >> MD5 check failed. Script exit ...

1.
<< ERROR >> MD5 check failed. Script exit ...
2.
直接wget下载不了包,不过我在翻墙的本机下载了

我希望可以成功安装上

回复: 大陆翻墙后依然不能按照iredmail

iRedMail 安装文档里明确说明了需要修改 pkgs/get_all.sh 文件里的 iredmail.org 为一个 IP 地址。

回复: 大陆翻墙后依然不能按照iredmail

修改ip为173.254.22.21 或  106.187.51.47   还是不行,请大神指点!
[root@mail iRedMail-0.9.2]# bash iRedMail.sh
< SKIP > Function: check_new_iredmail.
< SKIP > Function: create_repo_rhel.
[ INFO ] Install package: wget
[ INFO ] Installing package(s): wget
Loaded plugins: fastestmirror
base                                                         | 3.6 kB  00:00:00     
extras                                                       | 3.4 kB  00:00:00     

Current download cancelled, interrupt (ctrl-c) again within two seconds
to exit.



One of the configured repositories failed (iRedMail),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Disable the repository, so yum won't use it by default. Yum will then
        just ignore the repository until you permanently enable it again or use
        --enablerepo for temporary usage:

            yum-config-manager --disable iRedMail

     4. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=iRedMail.skip_if_unavailable=true

failure: repodata/repomd.xml from iRedMail: [Errno 256] No more mirrors to try.
http://iredmail.org/yum/rpms/7/repodata/repomd.xml: [Errno 15] user interrupt
[ INFO ] Fetching source tarballs ...
[ INFO ] + 1 of 3: http://173.254.22.21/yum/misc/iRedAdmin-0.4.2.tar.bz2
get_all.sh: line 108: wget: command not found
[ INFO ] + 2 of 3: http://173.254.22.21/yum/misc/iRedAPD-1.6.0.tar.bz2
get_all.sh: line 108: wget: command not found
[ INFO ] + 3 of 3: http://173.254.22.21/yum/misc/roundcube … ete.tar.gz
get_all.sh: line 108: wget: command not found
[ INFO ] Validate packages ...md5sum: misc/iRedAdmin-0.4.2.tar.bz2: No such file or directory
md5sum: misc/iRedAPD-1.6.0.tar.bz2: No such file or directory
md5sum: misc/roundcubemail-1.1.1-complete.tar.gz: No such file or directory
md5sum: WARNING: 1 line is improperly formatted
md5sum: WARNING: 3 listed files could not be read
misc/iRedAdmin-0.4.2.tar.bz2: FAILED open or read
misc/iRedAPD-1.6.0.tar.bz2: FAILED open or read
misc/roundcubemail-1.1.1-complete.tar.gz: FAILED open or read
    [ FAILED ]
<< ERROR >> MD5 check failed. Script exit ...

回复: 大陆翻墙后依然不能按照iredmail

Error Downloading Packages:
  perl-Cache-FastMmap-1.34-1.el6.rf.x86_64: failure: perl-Cache-FastMmap-1.34-1.el6.rf.x86_64.rpm from iRedMail: [Errno 256] No more mirrors to try.
  python-webpy-0.36-2.el6.noarch: failure: python-webpy-0.36-2.el6.noarch.rpm from iRedMail: [Errno 256] No more mirrors to try.
  clamd-0.97.7-1.el6.rf.x86_64: failure: clamd-0.97.7-1.el6.rf.x86_64.rpm from iRedMail: [Errno 256] No more mirrors to try.
  altermime-0.3.10-3.el6.x86_64: failure: altermime-0.3.10-3.el6.x86_64.rpm from iRedMail: [Errno 256] No more mirrors to try.
  shorewall-4.4.10-4.el6.noarch: failure: shorewall-4.4.10-4.el6.noarch.rpm from iRedMail: [Errno 256] No more mirrors to try.
  2:dovecot-managesieve-0.3.6-26.el6.x86_64: failure: dovecot-managesieve-0.3.6-26.el6.x86_64.rpm from iRedMail: [Errno 256] No more mirrors to try.
  nginx-1.8.0-1.el6.ngx.x86_64: failure: nginx-1.8.0-1.el6.ngx.x86_64.rpm from iRedMail: [Errno 256] No more mirrors to try.
  cluebringer-2.0.14-4.el6.noarch: failure: cluebringer-2.0.14-4.el6.noarch.rpm from iRedMail: [Errno 256] No more mirrors to try.
  perl-Config-IniFiles-2.56-1.el6.rf.noarch: failure: perl-Config-IniFiles-2.56-1.el6.rf.noarch.rpm from iRedMail: [Errno 256] No more mirrors to try.
  fail2ban-0.8.8-2.el6.noarch: failure: fail2ban-0.8.8-2.el6.noarch.rpm from iRedMail: [Errno 256] No more mirrors to try.
  1:dovecot-2.1.17-0_136.el6.x86_64: failure: dovecot-2.1.17-0_136.el6.x86_64.rpm from iRedMail: [Errno 256] No more mirrors to try.
  2:dovecot-pigeonhole-0.3.6-26.el6.x86_64: failure: dovecot-pigeonhole-0.3.6-26.el6.x86_64.rpm from iRedMail: [Errno 256] No more mirrors to try.
  python-inotify-0.9.1-1.el6.noarch: failure: python-inotify-0.9.1-1.el6.noarch.rpm from iRedMail: [Errno 256] No more mirrors to try.
  unrar-5.0.3-1.el6.rf.x86_64: failure: unrar-5.0.3-1.el6.rf.x86_64.rpm from iRedMail: [Errno 256] No more mirrors to try.

<< ERROR >> Installation failed, please check the terminal output.
<< ERROR >> If you're not sure what the problem is, try to get help in iRedMail
<< ERROR >> forum: http://www.iredmail.org/forum/
[root@siweite iRedMail-0.9.2]#

回复: 大陆翻墙后依然不能按照iredmail

# Where to fetch/store binary packages and source tarball.
export IREDMAIL_MIRROR="${IREDMAIL_MIRROR:=http://173.54.22.21}"
export PKG_DIR="${_ROOTDIR}/pkgs"
export PKG_MISC_DIR="${_ROOTDIR}/misc"

if [ X"${DISTRO}" == X"RHEL" ]; then
    # Special package.
    # command: which.
    export BIN_WHICH='which'
    export PKG_WHICH='which'
"pkgs/get_all.sh" 261L, 7483C 已写入
[root@mail iRedMail-0.9.2]# ls
ChangeLog  conf  dialog  Documentations  functions  iRedMail.sh  patches  pkgs  README.md  samples  tools
[root@mail iRedMail-0.9.2]# bsah iRedMail.sh
-bash: bsah: command not found
[root@mail iRedMail-0.9.2]# /bin/bash iRedMail.sh
[ INFO ] Checking new version of iRedMail ...
[ INFO ] Preparing yum repositories ...
[ INFO ] Installing package(s): epel-release
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirrors.btte.net
* extras: mirrors.sina.cn
* updates: mirrors.163.com
base                                                                                                        | 3.7 kB     00:00     
extras                                                                                                      | 3.4 kB     00:00     
http://173.54.22.21/yum/rpms/6/repodata/repomd.xml: [Errno 12] Timeout on http://173.54.22.21/yum/rpms/6/repodata/repomd.xml: (28, 'connect() timed out!')
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: iRedMail. Please verify its path and try again
[ INFO ] Fetching source tarballs ...
[ INFO ] + 1 of 3: http://173.54.22.21/yum/misc/iRedAdmin-0.4.2.tar.bz2
[ INFO ] + 2 of 3: http://173.54.22.21/yum/misc/iRedAPD-1.6.0.tar.bz2
[ INFO ] + 3 of 3: http://173.54.22.21/yum/misc/roundcubem … ete.tar.gz
[ INFO ] Validate packages ...md5sum: misc/iRedAdmin-0.4.2.tar.bz2: No such file or directory
md5sum: misc/iRedAPD-1.6.0.tar.bz2: No such file or directory
md5sum: misc/roundcubemail-1.1.1-complete.tar.gz: No such file or directory
md5sum: WARNING: 3 of 3 listed files could not be read
misc/iRedAdmin-0.4.2.tar.bz2: FAILED open or read
misc/iRedAPD-1.6.0.tar.bz2: FAILED open or read
misc/roundcubemail-1.1.1-complete.tar.gz: FAILED open or read
        [ FAILED ]
<< ERROR >> MD5 check failed. Script exit ...

回复: 大陆翻墙后依然不能按照iredmail

将域名改成IP后出现MD5校验失败,请问有什么方法先让我吧iredmail装上吗

回复: 大陆翻墙后依然不能按照iredmail

IP 是 173.254.22.21。

回复: 大陆翻墙后依然不能按照iredmail

pkgs/get_all.sh
2个地方
把修改iredmail.org 改成www.iredmail.com
把www.iredmail.org  改成www.iredmail.com