Set up your own mail server on Fedora (5)

Source: Internet
Author: User
Tags imap mail mysql

Eight, Courier-imapinstall

A. First, under ordinary users
  

The following are the referenced contents:
#./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. Modify AUTHMYSQLRC, here is simple
  

The following are the referenced contents:
#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
  

The following is the referenced content:
/usr/local/v Irtual/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. Start 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

IX. Test Port 110
  

The following are the referenced contents:
[Root@localhostroot] #telnetlocalhost110Trying127 ... 0.0.1 ...
Connectedtolocalhost.
Escapecharacteris ' ^] '.
+okhellothere.
Usertester
+okpasswordrequired.
Passtestpw
+okloggedin.
List
+okpop3clientsthatbreakhere,theyviolatestd53.
.
Quit
+okbye-bye.
Connectionclosedbyforeignhost.
[root@localhostroot]#

Ten, everything OK, try it with your outlook. Remember, to add a user's mailbox, make sure you use the full name. Go and find a webmail.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.