我要投稿
  • 您当前的位置:365bet官方 -> 技术教程 -> 服务器网络 -> 服务器教程 -> 邮件服务器教程 -> 教程内容
  • [ 收藏本页教程 ]
  • 在Fedora上建立自己的邮件服务器(5)邮件服务器教程

    教程作者:佚名    教程来源:不详   教程栏目:邮件服务器教程    收藏本页
                  摘要:暂无 八、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]# telnet 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吧。

    我要投稿   -   广告合作   -   关于本站   -   友情连接   -   网站地图   -   联系我们   -   版权声明   -   设为首页   -   加入收藏   -   网站留言
    Copyright © 2009 - 20012 www.www.ct131.com All Rights Reserved.365bet官方 版权所有