Postfix and dovecotpop3 settings in CentOS6.5x64

Source: Internet
Author: User
Tags dovecot
I am centos6.4x64 operating system in the postfix mail system and dovecotpop3 settings, please see the following method: first MX resolution A record mxdomain188.188.188.188MX@mxdomain.xxx.com // postfix2.6.6yuminstallpostfixvi/etc/postfix/main. cf I am Centos6.4x64-bit operating system on PostfixThe following describes how to configure the email system and dovecot pop3:

First MX resolution
A records mxdomain 188.188.188.188
MX @ mxdomain.xxx.com
// Postfix 2.6.6
Yum install postfix

Vi/etc/postfix/main. cf

Myhostname = mxdomain.xxx.com
Mydomain = xxx.com
Myorigin = $ mydomain // The domain name after.
Inet_interfaces = all // accept requests from all networks
Mydestination = $ myhostname, localhost. $ mydomain, localhost, $ mydomain
Relay_domains = $ mydestination
Mynetworks = 168.100.189.0/28,127.0 .0.0/8
Home_mailbox = Maildir/
Smtpd_banner = $ myhostname ESMTP unknow
Smtpd_sasl_auth_enable = yes
Smtpd_sasl_type = dovecot
Smtpd_sasl_path = private/auth
Smtpd_sasl_local_domain = $ myhostname
Smtpd_sasl_security_options = noanonymous
Smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
Message _ size_limit = 15728640

Mkdir/etc/skel/Maildir
Chmod 700/etc/skel/Maildir

// Dovecot 2.0.9

Auth_mechanic isms = plain login // conf. d/10-auth.conf
Login_trusted_networks = 0.0.0.0/0
Mail_location = maildir :~ /Maildir // conf. d/10-mail.conf
Mbox_write_locks = fcntl
Passdb {
Driver = pam
}
Service auth {// conf. d/10-master.conf
Unix_listener/var/spool/postfix/private/auth {
Group = postfix
Mode = 0660
User = postfix
}
}
Ssl = no
Ssl_cert = ssl_key = userdb {
Driver = passwd
}


Related Article

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.