- 备份 cgi-bin/openwebmail/etc/openwebmail.conf 和 cgi-bin/openwebmail/etc/sites.conf/ 目录下的配置文件。
- 删除原来的 cgi-bin/openwebmail 和 html/openwebmail 目录。
- 解压缩 openwebmail-2.10.tgz 文件到临时目录 tmp,将 tmp/cgi-bin/openwebmail 目录拷贝至 cgi-bin 目录下,将 tmp/data/openwebmail 拷贝至 html 目录下。
- 修改 cgi-bin/openwebmail/auth_unix.pl 文件,设置 $unix_passwdfile_encrypted 为 '/etc/shadow', $unix_passwdmkdb 为 'none'。
- 拷贝备份的 openwebmail.conf 到 cgi-bin/openwebmail/etc/ 目录,拷贝备份的 sites.conf 目录下的配置文件到 cgi-bin/openwebmail/etc/sites.conf/ 目录下。
- 修改 cgi-bin/openwebmail/etc/ 及其子目录中的文件的组用户为 mail,并且设置 cgi-bin/openwebmail/etc/sessions 目录为组用户可写。
- 执行 cgi-bin/openwebmail/openwebmail-tool.pl --init
- 根据上一步的提示对配置文件进行修改。
- 如果要关闭 WebDisk,在配置文件中设置 enable_webdisk 为 no,如果要关闭 SSH terminal,在配置文件中设置 enable_sshterm 为 no。设置 default_msgformat 为 text。
- 采用了新的 Quota 系统,一些选项已经无效:
reimplement the quota system in openwebmail
- all modules (webmail, webcal, webdisk) share same set of quota settings.
- different quota systems can be used in openwebmail by loading them as module.Two quota modules are available now:
quota_unixfix.pl and quota_du.pl- old quota options were removed, including:folderquota, folderusage_thresold, cutfolders_ifoverquota, webdisk_quota
- new quota options were added, including:quota_module, quota_limit, quota_threshold, delmail_ifquotahit, delfile_ifquotahit