How to build a SendMail mail server

Source: Internet
Author: User
Tags aliases mail

One ". SendMail Service Package

Sendmail-8.13.8-2.el5.i386.rpm:sendmail The main package for the service, the server side must install the package.

SENDMAIL-CF-8.13.8-2.EL5.I386.RPM:SENDMAIL Macro File Package

Sendmail-devel-8.13.8-2.el5.i386.rpm:sendmail Server Development Tools package

Documentation for the Sendmail-doc-8.13.8-2.el5.i386.rpm:sendmail server

M4-1.4.5-3.EL5.1.I386.RPM: Macro Processing of the worry package

DOVECOT-1.0-1.2.RC15.EL5.I386.RPM: Receive mail packages, install with attention to the order of installation

Two ". SendMail Related Configuration Document

Sendmail.cf:sendmail Core configuration file, located in/ETC/MAIL/SENDMAIL/SENDMAIL.CF

Sendmail.mc:sendmail provides sendmail file templates that are edited and then used M4 tools to import results sendmail.cf complete configuration sendmail core profiles, reduce configuration complexity, located in/etc/mail/ Sendmail.mc

Local-host-name: Defines the domain name and host alias of the incoming and outgoing mail server, located in/etc/mail/local-host-name

Access.db: Used to set the SendMail server for which hosts to forward mail, located in/etc/mail/access.db

Aliases.db: Used to define mailbox aliases, located in/etc/mail/aliases.db

Virtusertable.db: Used to set up a virtual account, located in/etc/mail/virtusertable.db

Three. Mail Feature components

MUA: Message user agent (mail username agent)

MTA: Message transfer agent (mail Transfer agent)

MDA: Mail delivery agent (mail Delivery agent)

Four ". SendMail General Server Configuration

Build SendMail Server process:

(1) Configure SENDMAIL.MC files

(2) using the M4 tool to import SENDMAIL.MC files into sendmail.cf files

(3) Configure Local-host-names files

(4) Establish user account

(5) Restart the service for the configuration to take effect

V. Case analysis and Configuration

Case topology diagram:

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.