Linux Enterprise Server configuration scenario: SendMail mail Server

Source: Internet
Author: User
Keywords Linux Enterprise Server mail server SendMail
Tags address aliyun business communication configuration enterprise enterprise server etc

& 1.1 Introduction

Mail Service is the most important network service that users need. Web traffic is large, but messages are primarily used for communication between individuals, and human-human communication is the basis of business. The network without http://www.aliyun.com/zixun/aggregation/12489.html "> Mail service is an incomplete network. In other words, if the user is not provided with full TCP/IP mail support, such a network operating system is not trustworthy.

Configuring SendMail is a large and complex task, but not entirely so, and Linux has already configured most of the settings compared to other network server systems that only install SMTP server software. In most systems, the default configuration works well. I will give some configuration recommendations in this chapter, and some of the main configuration parameters suggest that you do not change them arbitrarily.

& 1.2 Resource requirements

&1.2.1 Required Package

RedHat6.2 Server Installation

&1.2.2 Required configuration Files

/ETC/SENDMAIL.CF system with the administrator configuration
/ETC/SENDMAIL.CW system with the administrator configuration

& 1.3 Configuration Scheme

1./etc/sendmail.cf

Description: SendMail Main configuration file
Controls the configuration of the SendMail runtime. The complete sendmail configuration should include 7 parts:
Local Info: This section defines the local host's information
Options: Use to set options that define the SendMail environment.
Message precedence (priority of messages): SendMail message priority
Trusted users (Trusted user): Defines the user who is allowed to change the sending address when sending a message
Format of Headers (header format): Defines message header information inserted in SendMail
Rewriting rules (rewrite rule): This section holds the Override mail address command Use this command to rewrite the e-mail address from the address of the user's mail program to the address form required by the mail-sending program.
Mailer definition (Mailing description): Defines the program that sends the message, and the rules that are used by the sender are defined in this section.
Source file:
V8/berkeley
Cwlocalhost
Fw/etc/sendmail.cw
CP.
DYuunet.uu.net
Cpuucp
DS mail.weboa.com.cn
CO @%!
C..
c[[
Kmailertable Hash-o/etc/mail/mailertable

# Make DB Library
Kdomaintable Hash-o/etc/mail/domaintable
Kgenerics Hash-o/etc/mail/genericstable
Kvirtuser Hash-o/etc/mail/virtusertable
Kaccess Hash-o/etc/mail/access
Kmxserved bestmx-z:-T
Kresolve Host-T
Fr-o/etc/mail/relay-domains
DR
DH
Kdequote Dequote
CM Root
DM mail.weboa.com.cn

Related Article

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.