Get the App
SLTechnology News&Howtos  ›  Servers  › 

Sendmail installation

Shulou Source: shulou.com Published: 2022-06-02 05:15:55 10月04日 Update

Sendmail is a famous e-mail delivery agent, commonly known as the e-mail server, which is based on the standard simple Mail transfer Protocol (SMTP).

Actually, the installation and configuration of sendmail is very simple:

(1) install sendmail software package

Method 1: rpm-ivh sendmail installation package

Method 2: yum-y install sendmail.

(2) change the address in the configuration file sendmail.cf of sendmail according to the actual situation. In general, change the following Addr to 0.0.0.0. The default is 127.0.0.1:

O DaemonPortOptions=Port=smtp,Addr=0.0.0.0, Name=MTA

Tip: if you have other requirements for sendmail at work, you need to adjust them according to the specific situation.

(3) restart sendmail service: service sendmail restart

In this way, sendmail can be used.

Tags: Situation mail method e-mail e-mail service configuration ordinary famous lieutenant general that is address actual file server standard program software package agent Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux macOS Huawei Shulou Technology Xiaomi