八、courier-imap install
a. 先在普通用户下
| #./configure -without-authpwd -without-authpam -without-authuserdb -without-authshadow -without-cram -without-chkpw -without-ldap -without-pgsql -without-authdaemon -without-authcustom -with-authmysql #make #make check #su root #make install #make install-configure |
b.修改authmysqlrc,这里是简单的
| #default_domain domain.tld mysql_crypt_pwfield password mysql_database postfix mysql_gid_field '12345' mysql_home_field '/usr/local/virtual' mysql_login_field username mysql_maildir_field maildir mysql_name_field name mysql_opt 0 mysql_password postfix #mysql_port 3306 #mysql_quota_field quota mysql_server localhost mysql_socket /var/lib/mysql/mysql.sock mysql_uid_field '12345' mysql_username postfix mysql_user_table mailbox #mysql_where_clause status |
c. [root@localhost root]# /usr/lib/courier-imap/bin/maildirmake
| /usr/local/virtual/tester@lansemail.com [root@localhost root]# chmod -r 700 /usr/local/virtual/tester@lansemail.com [root@localhost root]# chown -r postfix:postfix /usr/local/virtual/tester@lansemail.com d. 启动courier-imap [root@localhost root]# /usr/lib/courier-imap/libexec/pop3d.rc start [root@localhost root]# /usr/lib/courier-imap/libexec/imapd.rc start [root@localhost root]# pstree grep courier -2*[courierlogger] -2*[couriertcpd] [root@localhost root]#.netstat -an grep listen tcp 0 0 0.0.0.0:32770 0.0.0.0:* listen tcp 0 0 127.0.0.1:32771 0.0.0.0:* listen tcp 0 0 0.0.0.0:3306 0.0.0.0:* listen tcp 0 0 0.0.0.0:110 0.0.0.0:* listen tcp 0 0 0.0.0.0:143 0.0.0.0:* listen tcp 0 0 0.0.0.0:111 0.0.0.0:* listen tcp 0 0 0.0.0.0:22 0.0.0.0:* listen tcp 0 0 127.0.0.1:631 0.0.0.0:* listen tcp 0 0 0.0.0.0:25 0.0.0.0:* listen |
九、测试端口110
| [root@localhost root]# te.net localhost 110 trying 127.0.0.1... connected to localhost. escape character is '^]'. +ok hello there. user tester +ok password required. pass testpw +ok logged in. list +ok pop3 clients that break here, they violate std53. . quit +ok bye-bye. connection closed by foreign host. [root@localhost root]# |
十、一切ok了,用你的outlook试试。。。。记住,添加用户邮箱,一定要用全名。再去找个webmail吧。
Java Asp PHP .Net XML C/C++ CGI VB Jsp J2ee J2se J2me EJB Servlet Tomcat Resin Struts Weblogic Eclipse ANT GUI JMS Web servise IDEA Webphere Hibernate Spring Jboss Applet Swing Socket Javamail Perl Ajax P2P 安全 模式 框架 测试 开源 游戏
Windows XP Windows 2000 Windows 2003 Windows Me Windows 9.x Linux UNIX 注册表 操作系统 服务器 应用服务器