安装指南

http://wiki.ubuntu.org.cn/IRedMail

http://netren.org/index.php/jeffreyguo/151-iredmaildibianubuntu.html

 

iredmail 0.7.3-rc2 下载地址

http://iredmail.googlecode.com/files/iRedMail-0.7.3-rc2.tar.bz2

iRedMail-0.7.2 下载地址

http://iredmail.googlecode.com/files/iRedMail-0.7.2.tar.bz2

....解压缩 运行 bash get_all.sh

root@mail:~/iRedMail-0.7.3-rc2/pkgs# bash get_all.sh
Ign http://extras.ubuntu.com natty InRelease
Ign http://security.ubuntu.com natty-security InRelease
Ign http://archive.canonical.com natty InRelease
Get:1 http://extras.ubuntu.com natty Release.gpg [72 B]
Hit http://security.ubuntu.com natty-security Release.gpg
Get:2 http://archive.canonical.com natty Release.gpg [198 B]
Get:3 http://extras.ubuntu.com natty Release [9753 B]
Hit http://security.ubuntu.com natty-security Release
Get:4 http://archive.canonical.com natty Release [5916 B]
Hit http://security.ubuntu.com natty-security/main Sources
Ign http://extras.ubuntu.com natty Release
Ign http://us.archive.ubuntu.com natty InRelease
Ign http://us.archive.ubuntu.com natty-updates InRelease
Ign http://us.archive.ubuntu.com natty-backports InRelease
Hit http://security.ubuntu.com natty-security/restricted Sources
Hit http://security.ubuntu.com natty-security/universe Sources
Hit http://security.ubuntu.com natty-security/multiverse Sources
Hit http://security.ubuntu.com natty-security/main i386 Packages
Hit http://security.ubuntu.com natty-security/restricted i386 Packages
Get:5 http://archive.canonical.com natty/partner Sources [4159 B]
Get:6 http://extras.ubuntu.com natty/main Sources [14 B]
Hit http://security.ubuntu.com natty-security/universe i386 Packages
Hit http://security.ubuntu.com natty-security/multiverse i386 Packages
Ign http://security.ubuntu.com natty-security/main TranslationIndex
Ign http://security.ubuntu.com natty-security/multiverse TranslationIndex
Ign http://security.ubuntu.com natty-security/restricted TranslationIndex
Ign http://security.ubuntu.com natty-security/universe TranslationIndex
Hit http://us.archive.ubuntu.com natty Release.gpg
Get:7 http://archive.canonical.com natty/partner i386 Packages [7861 B]
Get:8 http://extras.ubuntu.com natty/main i386 Packages [14 B]
Ign http://extras.ubuntu.com natty/main TranslationIndex
Hit http://us.archive.ubuntu.com natty-updates Release.gpg
Ign http://archive.canonical.com natty/partner TranslationIndex
Get:9 http://us.archive.ubuntu.com natty-backports Release.gpg [198 B]
Hit http://us.archive.ubuntu.com natty Release
Hit http://us.archive.ubuntu.com natty-updates Release
Ign http://extras.ubuntu.com natty/main Translation-en
Ign http://archive.canonical.com natty/partner Translation-en
Get:10 http://us.archive.ubuntu.com natty-backports Release [23.3 kB]
Hit http://us.archive.ubuntu.com natty/main Sources
Hit http://us.archive.ubuntu.com natty/restricted Sources
Hit http://us.archive.ubuntu.com natty/universe Sources
Hit http://us.archive.ubuntu.com natty/multiverse Sources
Hit http://us.archive.ubuntu.com natty/main i386 Packages
Hit http://us.archive.ubuntu.com natty/restricted i386 Packages
Hit http://us.archive.ubuntu.com natty/universe i386 Packages
Hit http://us.archive.ubuntu.com natty/multiverse i386 Packages
Ign http://us.archive.ubuntu.com natty/main TranslationIndex
Ign http://security.ubuntu.com natty-security/main Translation-en
Ign http://security.ubuntu.com natty-security/multiverse Translation-en
Ign http://us.archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com natty/restricted TranslationIndex
Ign http://us.archive.ubuntu.com natty/universe TranslationIndex
Hit http://us.archive.ubuntu.com natty-updates/main Sources
Hit http://us.archive.ubuntu.com natty-updates/restricted Sources
Hit http://us.archive.ubuntu.com natty-updates/universe Sources
Ign http://security.ubuntu.com natty-security/restricted Translation-en
Ign http://security.ubuntu.com natty-security/universe Translation-en
Hit http://us.archive.ubuntu.com natty-updates/multiverse Sources
Hit http://us.archive.ubuntu.com natty-updates/main i386 Packages
Hit http://us.archive.ubuntu.com natty-updates/restricted i386 Packages
Hit http://us.archive.ubuntu.com natty-updates/universe i386 Packages
Hit http://us.archive.ubuntu.com natty-updates/multiverse i386 Packages
Ign http://us.archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://us.archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://us.archive.ubuntu.com natty-updates/universe TranslationIndex
Get:11 http://us.archive.ubuntu.com natty-backports/main Sources [1651 B]
Get:12 http://us.archive.ubuntu.com natty-backports/restricted Sources [14 B]
Get:13 http://us.archive.ubuntu.com natty-backports/universe Sources[7364B]
Get:14 http://us.archive.ubuntu.com natty-backports/multiverse Sources [1319B]
Get:15 http://us.archive.ubuntu.com natty-backports/main i386 Packages [2150B]
Get:16 http://us.archive.ubuntu.com natty-backports/restricted i386 Packages[14 B]
Get:17 http://us.archive.ubuntu.com natty-backports/universe i386 Packages [13.0 kB]
Get:18 http://us.archive.ubuntu.com natty-backports/multiverse i386 Packages[1479 B]
Ign http://us.archive.ubuntu.com natty-backports/main TranslationIndex
Ign http://us.archive.ubuntu.com natty-backports/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com natty-backports/restricted TranslationIndex
Ign http://us.archive.ubuntu.com natty-backports/universe TranslationIndex
Ign http://us.archive.ubuntu.com natty/main Translation-en
Ign http://us.archive.ubuntu.com natty/multiverse Translation-en
Ign http://us.archive.ubuntu.com natty/restricted Translation-en
Ign http://us.archive.ubuntu.com natty/universe Translation-en
Ign http://us.archive.ubuntu.com natty-updates/main Translation-en
Ign http://us.archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://us.archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://us.archive.ubuntu.com natty-updates/universe Translation-en
Ign http://us.archive.ubuntu.com natty-backports/main Translation-en
Ign http://us.archive.ubuntu.com natty-backports/multiverse Translation-en
Ign http://us.archive.ubuntu.com natty-backports/restricted Translation-en
Ign http://us.archive.ubuntu.com natty-backports/universe Translation-en
Fetched 78.4 kB in 12s (6114 B/s)
Reading package lists... Done
W: GPG error: http://extras.ubuntu.com natty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
< INFO > Fetching Source Tarballs ...
< INFO > + 1/5: http://iredmail.org/apt/misc/iRedAPD-1.3.6.tar.bz2
< INFO > + 2/5: http://iredmail.org/apt/misc/iRedAdmin-0.1.6.tar.bz2
< INFO > + 3/5: http://iredmail.org/apt/misc/roundcubemail-0.5.3.tar.gz
< INFO > + 4/5: http://iredmail.org/apt/misc/phpldapadmin-1.2.1.1.tgz
< INFO > + 5/5: http://iredmail.org/apt/misc/phpMyAdmin-3.4.3.1-all-languages.tar.bz2
< INFO > Validate Packages ...md5sum: misc/iRedAPD-1.3.6.tar.bz2: No such file or directory
md5sum: misc/iRedAdmin-0.1.6.tar.bz2: No such file or directory
md5sum: misc/roundcubemail-0.5.3.tar.gz: No such file or directory
md5sum: misc/phpldapadmin-1.2.1.1.tgz: No such file or directory
md5sum: misc/phpMyAdmin-3.4.3.1-all-languages.tar.bz2: No such file or directory                                                                             
md5sum: WARNING: 5 of 5 listed files could not be read
misc/iRedAPD-1.3.6.tar.bz2: FAILED open or read
misc/iRedAdmin-0.1.6.tar.bz2: FAILED open or read
misc/roundcubemail-0.5.3.tar.gz: FAILED open or read
misc/phpldapadmin-1.2.1.1.tgz: FAILED open or read
misc/phpMyAdmin-3.4.3.1-all-languages.tar.bz2: FAILED open or read
[ FAILED ]
< ERROR > MD5 check failed. Check your rpm packages. Script exit ...
root@mail:~/iRedMail-0.7.3-rc2/pkgs#
---------------- 一些列找不到文件---------------

用ip替换iredmail.org 重新运行 get_all.sh

...

Reading package lists... Done
< INFO > Fetching Source Tarballs ...
< INFO > + 1/5: http://173.254.22.21/apt/misc/iRedAPD-1.3.6.tar.bz2
< INFO > + 2/5: http://173.254.22.21/apt/misc/iRedAdmin-0.1.6.tar.bz2
< INFO > + 3/5: http://173.254.22.21/apt/misc/roundcubemail-0.5.3.tar.gz
< INFO > + 4/5: http://173.254.22.21/apt/misc/phpldapadmin-1.2.1.1.tgz
< INFO > + 5/5: http://173.254.22.21/apt/misc/phpMyAdmin-3.4.3.1-all-languages.tar.bz2
< INFO > Validate Packages ...    [ OK ]
< INFO > Installing package(s): dialog
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following NEW packages will be installed:
  dialog
0 upgraded, 1 newly installed, 0 to remove and 94 not upgraded.
Need to get 280 kB of archives.
After this operation, 1540 kB of additional disk space will be used.
Get:1 http://mirrors.ustc.edu.cn/ubuntu/ natty/universe dialog i386 1.1-20100428-1 [280 kB]
Fetched 280 kB in 1s (160 kB/s) 
Selecting previously deselected package dialog.
(Reading database ... 159723 files and directories currently installed.)
Unpacking dialog (from .../dialog_1.1-20100428-1_i386.deb) ...
Processing triggers for man-db ...
Setting up dialog (1.1-20100428-1) ...
********************************************************
* All tasks had been finished successfully. Next step:
*
*   # cd ..
*   # bash iRedMail.sh
*
********************************************************
现在没有报错。