歡迎您光臨本站 註冊首頁

rhms-0.2: 即將發布

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

rhms-0.2: 即將發布

Hi, all.

rhms-0.1.2 已經發布了,相對於 rhms-0.1.1,功能上沒有任何變化,但增加了兩
個工具:

    * rhms-0.1.2/tools/create_mail_ldap_user.sh:
    這是一個 shell 腳本,用於從命令行添加虛擬域和虛擬用戶。

    * rhms-0.1.2/tools/phpldapadmin/template/*xml:
    這是用於 phpLDAPadmin 的兩個模板,分別用於創建虛擬域和虛擬用戶。

    發布地址:
    http://groups.google.com/group/redhatsolution/t/735db8eee803662b

    下載地址:
    http://code.google.com/p/redhatsolution/downloads/list

rhms-0.2 也正式開始了,計劃實現的功能主要是:

    + MySQL:存儲虛擬域和虛擬用戶
    + Roundcube:使用 AJAX 技術的 WebMail 程序

這是作為 OpenLDAP + SquirrelMail 的替代方案。

大家如果有其它需求,就在這裡跟帖吧,我儘力而為。

另外,這裡簡單說一下為什麼當初我選擇 LDAP:

    * 郵件伺服器更多時候都只需要查詢虛擬域和虛擬用戶,而不是頻繁地查詢和修改。
      而 LDAP 本身正是為這種情況做了優化的,所以查詢速度會更快一些。
    * LDAP 做賬號整合、單點驗證,甚至 SSO(Single Sign On)都是非常好的。
    * 相對 MySQL 而言,我對 LDAP 更熟悉一些。

歡迎各位對 RHEL、OpenBSD、LDAP、郵件伺服器感興趣的朋友一起交流討論

[ 本帖最後由 MichaelBibby 於 2008-3-11 15:09 編輯 ]
《解決方案》

很好
《解決方案》

ChangeLog, 2008.03.09:

* rhms-0.2:
    * Add functions to install & config MySQL:
        - Install MySQL server.
        - Set root password for MySQL root user.
        - Initialize database for postfix virtual hosts.

    * Add functions to install & config courier-authlib-mysql:
        - /etc/authlib/authdaemonrc
        - /etc/authlib/authmysqlrc
        - /etc/postfix/mysql_*

    * Add rpms for postfix mysql support:
        - postfix-2.3.3-2.el5.centos.mysql_pgsql.i386.rpm -> from centosplus
          repo
        - courier-authlib-mysql

    * Add hooks in 'tools/config_via_dialog.sh':
        - database name to store postfix virtual hosts.
        - MySQL root passwd.
        - First domain, first user, admin user.

    * Seperate config options into several standalone files:
        - tools/config_via_dialog.sh  -> main script
        - tools/ldap_config.sh        -> LDAP config options
        - tools/mysql_config.sh       -> MySQL config options

    * Remove unneccessary 'maildirmake' while create maildir and maildroprc.

    * Re-define some variables in 'tools/*config*.sh':
        - LDAP_YOUR_DOMAIN    -> FIRST_DOMAIN
        - LDAP_EXAMPLE_USER   -> FIRST_USER
《解決方案》

哥們,支持一下。很好。
《解決方案》

ChangeLog, 2008.03.10:

* rhms-0.2:
    * Remove unneccessary packages in kickstart files:
        - cyrus-sasl-ldap

    * Add some rpm packages for Roundcube-0.1 stable:
        - mcrypt
        - mhash
        - php-mcrypt
        - php-mhash
        - libmcrypt

    * They work now:
        - MySQL auth in Postfix: /etc/postfix/mysql_*
        - pop3, imap, smtp auth

    * Set file permission for /etc/postfix/mysql_*:
        - Owner:Group   -> postfix:postfix
        - Mode          -> 0664

Roundcube-0.1 works now. i will add it in rhms-0.2 later, maybe tonight.
《解決方案》

頂:em03: :em03:
《解決方案》

ChangeLog, 2008.03.10:

* rhms-0.2:

     * Fix incorrect configuration in courier-authlib-mysql.

     * Initialize virtual hosts database (Use openssl to crypt the
       password):
         - first domain
         - first admin user
         - first user

     * Fix incorrect file owner: /etc/postfix/mysql_*:
         - Owner:Group   -> root:root
         - Mode          -> 0644

Mail server base system is ready, what we still need:

     * Roundcube
     * PostfixAdmin
《解決方案》

ChangeLog, 2008.03.11:

We are so colsed to rhms-0.2.

* rhms-0.2:
    * Roundcube-0.1 stable release works:
        - Initialize database
        - Some minor customize
        - Default locale: zh_CN

    * Add prompt page in 'dialog' for Roundcubemail database user and
      password.

    * Fix unbefitting directory aliases in apache:
        - /etc/httpd/conf.d/phpldapadmin.conf
        - /etc/httpd/conf.d/squirrelmail.conf
        - /etc/httpd/conf.d/roundcubemail.conf

    * Add functions to install and config roundcubemail.
    * Add URL link to fetch roundcubemail-0.1 stable.
    * Update postgrey to postgrey-1.31. Thanks to http://dag.wieers.com.

TODO:
    * PostfixAdmin.
    * Fix incorrect file permission of SquirrelMail: INSTALL, README,
      etc.
    * Sync wiki, screenshots.
《解決方案》

回復 #1 MichaelBibby 的帖子

* 郵件伺服器更多時候都只需要查詢虛擬域和虛擬用戶,而不是頻繁地查詢和修改。
      而 LDAP 本身正是為這種情況做了優化的,所以查詢速度會更快一些。
》ldap 是在於數據結構比較適合存放用戶信息這類信息,ldap 並不比資料庫快,目前國內運行的大型郵件系統(包括網易,騰訊),清一色用資料庫

* LDAP 做賬號整合、單點驗證,甚至 SSO(Single Sign On)都是非常好的。
》sso 目前還不是個標準,每個系統有每個系統的sso 集成方法,不是說你用了ldap 就支持 sso

* 相對 MySQL 而言,我對 LDAP 更熟悉一些。
》這個似乎比較合理
《解決方案》

原帖由 ardi 於 2008-3-12 16:33 發表 http://bbs.chinaunix.net/images/common/back.gif
* 郵件伺服器更多時候都只需要查詢虛擬域和虛擬用戶,而不是頻繁地查詢和修改。
      而 LDAP 本身正是為這種情況做了優化的,所以查詢速度會更快一些。
》ldap 是在於數據結構比較適合存放用戶信息這類信息 ...
多謝指點。 :)

[火星人 ] rhms-0.2: 即將發布已經有1876次圍觀

http://coctec.com/docs/service/show-post-31943.html