|
初级会员

|
1#
大 中
小 发表于 2006-7-25 09:44 只看该作者
UPDATED 已修复(01/10/2006) : extmail 安装包 ( CENTOS 4.3 with LDAP)
注意
Please download from here:
http://www.ethansoft.com/index.p ... gid=1&Itemid=26
Extman default username and password ( 管理员用户名及密码 )
username: root@directory.server
password: extmail
当你新加 domain 的时候, 记得在transport 的格子里放 maildrop:
当你在extman里修改了root@directory.server 密码之后,必须也同时修改/etc/authlib/authldaprc 的 LDAP_BINDPW 及 /etc/sysconfig/saslauthd 的 ldap_bind_pw:.
我不在/etc/authlib/authldaprc 及 /etc/saslauthd.conf 用cn=Manager,dc=directory,dc=server 而选择用mail=root@directory.server,o=extmailManager,dc=directory,dc=server
是因为cn=Manager,dc=directory,dc=server 是ldap server 的超级admin, 而mail=root@directory.server,o=extmailManager,dc=directory,dc=server 只是extmail 与extman 的admin,主要在与/etc/authlib/authldaprc 及/etc/saslauthd.conf 都用文明写上密码,假如某人hack 进server, 而我们又用 cn=Manager,dc=directory,dc=server 的话, 那整个ldap 就完了, 但如用mail=root@directory.server,o=extmailManager,dc=directory,dc=server , 那最坏也只是丢了 extmail 的那一部分,其它在openldap的资料都回平安无事, 希望大家明白
AUTHOR
---------
Ethan Chai Voon Chong
installer Version
---------
0.1 - initial release 25/7/06
TODO LIST
------------
TLS integration for postfix
FCGI support for extmail
SPAM Filltering and virus scanning.
openldap indexing and acl control.
review security setting and permission for all the config file
update extman to version 0.16-pre1
create one user for saslauthd.conf and authldaprc setting
Application version
------------------------
extmail = extmail-0.24-pre8
extman = extman-0.15-20060519
postfix = postfix-2.1.5-4.2.RHEL4
openldap = openldap-2.2.13-4
courier-imap = courier-imap-4.1.0-1
maildrop = maildrop-2.0.2-1
courier-authlib = courier-authlib-0.58-1
apache = httpd-2.0.52-22.ent.centos4
WARNING
------------
This auto installer assume that user install the minimal centos (version 4.3) system, and run the installer once finish installed, This installer is released without any warranty and used at your own risk.
USAGE DETAIL
-----------------
Please change this parameters at installer.sh
LDAPPW="secret"; # This is Ldap Manager password in slapd.conf
EXTMAIL_SERVER_NAME="extmail.example.com"; # This is the URL to access extmail
EXTMAN_SERVER_NAME="extman.example.com"; # This is the URL to access extman
DOMAINNAME="example.com"; # This is the domain used in postfix main.cf
HOSTNAME="mail.example.com"; # This is the hostname used in postfix main.cf
also, please find the email address, root@abc.com and change to the email address that you want to recieve system mail.
After change all the parameter to your own value, execute this command to execute the auto installer and wait for it to finish.引用:[SHELL] > sh installer.sh After finish installation, modify your dns or you hosts file so that it can resolved extman.example.com and extmail.example.com or whatever name that you have change for the the variable EXTMAIL_SERVER_NAME and EXTMAN_SERVER_NAME.
Example, a simple ping to extman.example.com will tell you if you modify the host file or dns correctly.
Please read SMTP_AUTHENTICATION_HELP.doc included for smtp authentication help on mail client.
SUPPORT
----------
Please post all support and feedback at here. YOUR FEEDBACK IS VERY IMPORTANT FOR ME TO IMPROVE THE INSTALLER.
文章 - Ethan
Redhat Certifed Technician , Paypal Certified Developer
|