How to set up a high-capacity linux POP3 server

Source: Internet
Author: User
Tags comments hash log mail version linux

One: Overview

The purpose of this article is to describe how to use open source software procmail and Qpopper to configure a POP3 server that can be used by a large number of users, with a focus on maintaining optimal server performance.

Two: Steps

Software Environment for Redhat Linux 7.1

1. Download the latest version of Procmail and Qpopper

Procmail The latest version is now 3.21 available from

http://www.procmail.org/procmail-3.21.tar.gz download.

Qpopper The latest version is now 4.0 available from

http://www.eudora.com/qpopper_general/Download

2. Compile Qpopper

Suppose the downloaded file is placed in the/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

Comments:

--enable-specialauth Use/etc/shadow password Authentication

--enable-hash-spool=2 uses level two hash structure

--enable-spool-dir=/usr/mail The user mailbox file is/usr/mail/j/e/jephe

--enable-log-login Record of successful POP3 login into syslog

--enable-server-mode and--enable-fast-update

Do not allow Qpopper to copy mailbox files to temporary files when the user accesses the mailbox

Reduces disk I/O and enhances performance

--enable-shy do not display version information when responding to a server, enhancing security

  #make
  #make install

Edit File/etc/inetd.conf

Create the file POP3 under/ETC/XINETD.D and include the following:

  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
  }

Comments:



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.