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: