在Fedora上建立自己的郵件伺服器(5)

來源:互聯網
上載者:User

八、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吧。



相關文章

Cloud Intelligence Leading the Digital Future

Alibaba Cloud ACtivate Online Conference, Nov. 20th & 21st, 2019 (UTC+08)

Register Now >

Starter Package

SSD Cloud server and data transfer for only $2.50 a month

Get Started >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。