Manager要我搭建一个Email Server,以下是架构图。
由于不熟悉openldap,改用mysql实现用户管理。
1. compile env. is different in Solaris from Linux
/opt/csw/bin
/usr/ccs/bin
/usr/ucb/cc
感觉Solaris就是Unix世界中的Microsoft,喜欢采用自己的标准去做事。与别的系统兼容性差。怪不得有人说在BSD中编译痛苦,在Solaris中更痛苦。
2. directory /usr/local/bin in my machine is a symbol link to /usr/local/packages/local/bin, it is read only
so the packages can not be installed in the default directories
3. use "gmake" instead of "make"
4. configuration files:
/etc/postfix/main.cf master.cf
/etc/postfix/mysql*cf
/opt/csw/sasl2/lib/sasl2/smtpd.conf
/opt/csw/courier/etc/imapd
/opt/csw/courier/etc/authlib/authdaemonrc
/opt/csw/courier/etc/authlib/authmysqlrc instead of /opt/csw/courier/etc/authmysqlrc
if authlib/authmysqlrc does not exist, an I/O error will be raised.
I have refered to the following 3 links to install the mail server.
http://high5.net/howto/ Postfix+MySQL+Courier-IMAP(参数设置)***
http://www.5dmail.net/html/2005-8-16/2005816171404.htm 中小规模POSTFIX邮件系统(编译安装)***
http://www.gentoo.org/doc/en/virt-mail-howto.xml Virtual Mailhosting System with Postfix Guide(调试方法)***
Postfix documentation:
http://www.5dmail.net/html/2006-3-11/2006311100246.htm 邮件系统postfix安装与配置(上)*
http://www.5dmail.net/html/2006-3-11/2006311100411.htm 邮件系统postfix安装与配置(下)*
http://www.linuxmine.com/4345.html Virtual、Aliases、虚拟表等概念之间的关系*
http://www.5dmail.net/html/2004-10-26/20041026164400.htm postfix 2.0.16的虚拟投递代理文档
http://www.postfix.org/INSTALL.html Postfix Installation From Source Code
http://www.postfix.org/docs.html Postfix Howtos and FAQs
http://cpplus.info/DEMO/man/view_doc23a5.html?file=/usr/share/doc/postfix-2.1.6/html/VIRTUAL_README.html VIRTUAL_README
http://www.hzqbbc.com/blog/arch/2002/11/postfix_ceccee.html 有关Postfix 的虚拟用户支持的大讨论
http://www.postfix.org/faq.html#virtual_command
http://www.postfix.org/postconf.5.html
http://www.postfix.org/DATABASE_README.html
http://www.postfix.org/DEBUG_README.html#logging Postfix Debugging Howto
http://www.postfix.org/faq.html Postfix Frequently Asked Questions
Cyrus-SASL documentation:
cyrus-sasl-2.1.19/doc/install.html
Courier-IMAP documentation:
http://www.courier-mta.org/imap/INSTALL.html
http://www.courier-mta.org/imap/
http://www.inter7.com/courierimap/FAQ.html
courier-imap-4.1.0/imap/imapd.html
courier-imap-4.1.0/imap/README.html
Mysql documentation:
http://dev.mysql.com/doc/refman/5.0/en/solaris.html Mysql with Solaris Notes
http://wiki.arslinux.com/Mail_Server:MySQL_Authentication Postifx w/ SASL + Courier IMAP w/ SSL + Maildrop + MySQL + SpamAssassin (Appendix)
Solutions:
http://wanderingbarque.com/howtos/mailserver/mailserver.html Secure Virtual Mailserver HOWTO Postfix + OpenLDAP + Dovecot + Jamm + SASL + SquirrelMail
http://www.phparchitecture.com/howto_show.php?id=2&showall Postifx w/ SASL + Courier IMAP w/ SSL + Maildrop + MySQL + SpamAssassin
Other Mail Server:
http://www.5dmail.net/NewList-51-1.htm Qmail/Sendmail/Postfix News list*