Postfix email service configuration and application 4
Source: Internet
Author: User
Postfix email service configuration and application 4-Linux Enterprise Application-Linux server application information. See the following for details. Implementation of pop and imap email services
The postfix service is only MTA. It only provides the SMTP service, that is, it only provides Mail forwarding and local distribution functions. To achieve remote reception, you must also install the POP or IMAP service. Generally, the SMAP service and POP or IMAP service are installed on a host, which is also called an email server. In rhel4, dovecot and cyrus-imapd provide both pop and imap services.
The implementation of the dovecot service is installed on the fourth disc of rehl4.
The basic configuration file of dovecot is/etc/dovecot. conf. To enable the most basic dovcot service, you only need to modify the following content in the configuration file.
Protocols = pop3 indicates the service protocol to run
Pop3_listen = * (asterisk) specifies the service port to be listened to. The asterisk represents all ports.
Start the dovecot service and set it to auto start
/Etc/rc. d/init. d/dovecot start
Chkconfig -- level 345 dovecot on
Now you have installed the dovecot and postfix services, and then you can use this email server to send and receive emails.
Note: port 110 of the TCP protocol used by pop3.
The cyrus-imapd service is installed on the fourth disc. The following are related software packages.
Cyrus-imapd-2.2.10-1.RHEL.1.I386.rpm
Cyrus-imapd-devel-2.2.10-1.rhel4.1.i386.rpm
Cyrus-imapd-murder-2.2.10-1.rhel4.1.i386.rpm
Cyrus-imapd-nntp-2.2.10-1.rhel4.1.i386.rpm
Cyrus-imapd-utils-2.2.10-1.rhel4.1.i386.rpm
Perl-cyrus-2.2.10-1.rhel4.1.i386.rpm
The last package must be installed before installing the cyrus-imapd-utils-2.2.10-1.rhel4.1.i386.rpm package.
There are three basic configuration files for the cyrus-imapd service.
/Etc/sysconfig/cyrus-imapd: the configuration file used to start the cyrus-imapd service.
/Etc/cyrus. conf: it is the main configuration file of the cyrus-imapd service, which contains the setting parameters of each component in the Service (imap, pop3, sieve, nntp, etc.
/Etc/imapd. conf: the configuration file of the imap service in the cyrus-imapd service.
By default, these configuration files are basically configured. As long as the cyrus-imapd service is started, pop and imap services can be provided at the same time. However, postfix does not support cyrus-imap by default. Therefore, to integrate postfix with cyrus-imapd, the main configuration file/etc/postfix/main of postfix must be located. join in cf
Mailbox_transport = lmtp: unix:/var/lib/imap/socket/lmtp
Cyrus-imapd starts and runs automatically
Service cyrus-imapd start
Chkconfig cyrus-imapd on
[ This post was last edited by jackiesr at, September 21 ,.]
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