Article Title: Set up a high-capacity POP3 server on Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
POP3 (Post Office Protocol 3) is the 3rd version of the Post Office Protocol. It specifies how to connect a personal computer to an email server on the Internet and download an email Protocol.
It is the first offline protocol standard for Internet email. POP3 allows users to store emails on the server to a local host and delete emails stored on the mail server, the POP3 server follows the POP3 protocol and is used to receive emails. This article describes how to use the open-source software Procmail and Qpopper to configure a POP3 server for a large number of users in Linux.
1. Download Procmail and Qpopper
Procmail can be downloaded from http://www.procmail.org/procmail-3.21.tar.gz.
Qpopper can be downloaded from http://www.eudora.com/qpopper_general.
2. compile Qpopper
Assume that the downloaded file is stored in/root.
# Cd/root
# Tar xvfz qpopper4.0.3.tar.gz
# Cd qpopper4.0.3
#./Configure -- enable-hash-spool = 2
-- Enable-log-login
-- Enable-server-mode
-- Enable-fast-update
-- Enable-shy
-- Enable-spool-dir =/usr/mail
-- Enable-specialauth
Note:
-- Enable-specialauth use/etc/shadow password authentication -- enable-hash-spool = 2 use level-2 hash structure
-- Enable-spool-dir =/usr/mail: the user's mailbox file is/usr/mail/j/e/jephe
-- Enable-log-login records the successful POP3 logon to syslog
-- Enable-server-mode and -- enable-fast-update
Do not allow qpopper to copy mailbox files to temporary files when users access the mailbox, reduce disk I/O and improve performance.
-- Enable-shy does not display version information when the server responds, enhancing security.
# Make
# Make install
Edit the/etc/inetd. conf file
Create a file pop3 under/etc/xinetd. d, which contains the following content:
Service pop3
{
Socket_type = stream
Protocol = tcp
Wait = no
User = root
Server =/usr/local/lib/popper
Server_args = qpopper-F-S-s-c-R-T120
Port = 110
} Note:
-F enable fast update
-S enable server mode (when the user does not have shell access to the server)
-S: Enable the LOG function
-C ignore the case sensitivity of the user name
-R does not perform Reverse Domain Name check on connected IP addresses
-T: Set the timeout time.
[1] [2] Next page