在Fedora上建立自己的邮件服务器(5)

2008-02-23 06:16:42来源:互联网 阅读 ()

新老客户大回馈,云服务器低至5折

八、Courier-IMAPInstall

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
  #makecheck
  #suroot
  #makeinstall
  #makeinstall-configure


  
B.修改authmysqlrc,这里是简单的
  


  #DEFAULT_DOMAINdomain.tld
  MYSQL_CRYPT_PWFIELDpassword
  MYSQL_DATABASEpostfix
  MYSQL_GID_FIELD'12345'
  MYSQL_HOME_FIELD'/usr/local/virtual'
  MYSQL_LOGIN_FIELDusername
  MYSQL_MAILDIR_FIELDmaildir
  MYSQL_NAME_FIELDname
  MYSQL_OPT0
  MYSQL_PASSWORDpostfix
  #MYSQL_PORT3306
  #MYSQL_QUOTA_FIELDquota
  MYSQL_SERVERlocalhost
  MYSQL_SOCKET/var/lib/mysql/mysql.sock
  MYSQL_UID_FIELD'12345'
  MYSQL_USERNAMEpostfix
  MYSQL_USER_TABLEmailbox
  #MYSQL_WHERE_CLAUSEstatus

C.[root@localhostroot]#/usr/lib/courier-imap/bin/maildirmake
  


  /usr/local/virtual/tester@lansemail.com
  [root@localhostroot]#chmod-R700/usr/local/virtual/tester@lansemail.com
  [root@localhostroot]#chown-Rpostfix:postfix/usr/local/virtual/tester@lansemail.com
  D.启动courier-imap
  [root@localhostroot]#/usr/lib/courier-imap/libexec/pop3d.rcstart
  [root@localhostroot]#/usr/lib/courier-imap/libexec/imapd.rcstart
  [root@localhostroot]#pstree|grepcourier
  |-2*[courierlogger]
  |-2*[couriertcpd]
  [root@localhostroot]#netstat-an|grepLISTEN
  tcp000.0.0.0:327700.0.0.0:*LISTEN
  tcp00127.0.0.1:327710.0.0.0:*LISTEN
  tcp000.0.0.0:33060.0.0.0:*LISTEN
  tcp000.0.0.0:1100.0.0.0:*LISTEN
  tcp000.0.0.0:1430.0.0.0:*LISTEN
  tcp000.0.0.0:1110.0.0.0:*LISTEN
  tcp000.0.0.0:220.0.0.0:*LISTEN
  tcp00127.0.0.1:6310.0.0.0:*LISTEN
  tcp000.0.0.0:250.0.0.0:*LISTEN

九、测试端口110
  


  [root@localhostroot]#telnetlocalhost110Trying127.0.0.1...
  Connectedtolocalhost.
  Escapecharacteris'^]'.
   OKHellothere.
  usertester
   OKPasswordrequired.
  passtestpw
   OKloggedin.
  list
   OKPOP3clientsthatbreakhere,theyviolateSTD53.
  .
  quit
   OKBye-bye.
  Connectionclosedbyforeignhost.
  [root@localhostroot]#

十、一切ok了,用您的outlook试试。记住,添加用户邮箱,一定要用全名。再去找个webmail吧。


标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇: 在Fedora上建立自己的邮件服务器(3)

下一篇: 选择邮件服务器十二要素(1)