大雀软件园

首页 软件下载 安卓市场 苹果市场 电脑游戏 安卓游戏 文章资讯 驱动下载
技术开发 网页设计 图形图象 数据库 网络媒体 网络安全 站长CLUB 操作系统 媒体动画 安卓相关
当前位置: 首页 -> 网络安全 -> 服务器 -> 在Fedora上建立自己的邮件服务器(5)

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

时间: 2021-07-31 作者:daque

八、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 © 2019-2021 大雀软件园(www.daque.cn) All Rights Reserved.