Linux Sendmail configuration strategy (1)

Source: Internet
Author: User

More and more people are paying attentionSendmailSendmail is the most important mail transmission agent. I will show you how to configure Sendmail.

I. First of all, to makeLINUXIt is critical that DNS should be configured for sending and receiving emails. Without DNS as a basic LINUX system, it is impossible to send and receive emails normally. My service DNS configuration is as follows:

The IP address of the server is a. B. c. d.

Assume that my domain name is domain.com.

Machine name: my

Forward resolution file name: db.domain.com

Content:

@ INSOAns.mydomain.com. root.ns.mydomain.com .(

2001061405; serial

3600; refresh

900; retry

1209600; expire

43200; default_ttl)

@ INMX5ns

@ INNSns

@ INa. B. c. d

Mail INA a. B. c. d

My INA a. B. c. d

Localhost INA 127.0.0.1

Test INA a. B. c. d

Mail INCNAME my.mydomain.com.

Reverse resolution file name: db. A. B .C

@ INSOAmy.mydomain.com. root.ns.mydomain.com .(

2001061405; serial

3600; refresh

900; retry

1209600; expire

43200; default_ttl)

@ INNSmy

38 INPTR my.mydomain.com.

After these two parsing files are set, the remaining files, such as/etc/named. conf,/etc/named. boot, will be set. The following describes how to configure the email server.

Files that may be used:/etc/sendmail. mc,/etc/sendmail. cf, and files under/etc/mail.

First, check whether sendmail and POP3 are started. The command is as follows:

Ps-auwx | grep sendmail. If sendmail is started, some information is displayed,

Netstat-a | grep pop. If the POP3 port is enabled, the following message is displayed:

Tcp 0 0 *: pop3 *: * LISTEN; otherwise, no message is displayed.

If you choose to install LINUX completely, you do not need to generate the sendmail. cf file. The sendmail version of Linux6.2 is 8.9.3, which is safe and easy to use.


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.