CentOS Mail Send notes

Source: Internet
Author: User
Tags email account

Centos5 the following mail command to send mail using the SendMail service

[Email protected] ~]# rpm-q SendMail

Sendmail-8.13.8-10.el5_11

[Email protected] ~]# ll/bin/mail*

-rwxr-xr-x 1 root mail 84856 Jul 2006/bin/mail

lrwxrwxrwx 1 root root 4 Jan 2013/bin/mailx-mail

[Email protected] ~]# Mail-v-S "mailx version" [Email protected] < VERSION.C

>>> MAIL From:<[email protected]>

>>> RCPT To:<[email protected]>


Use MAILX do not start sendmail using other SMTP email, refer to

http://blog.c1gstudio.com/archives/1314

Uninstalling SendMail or MAILX is not recommended.

There are two types of mail alerts:

1, Zabbix service is simply to send alarm mail to the designated mailbox, send alarm mail This mailbox account is Zabbix service side of the local mailbox account (such as: [email protected]), can only send, can not receive external mail.

2. Use an email account that can send and receive mail on the Internet (for example: [email protected]), by setting it in the Zabbix server, so that it sends alarm messages to the designated mailbox.

CentOS 5.x is installed by default SendMail

CentOS 6.x is installed by default Postfix

SendMail and postfix only need to install one and turn on the service.

Install the Mail sending tool MAILX

Yum Install Mailx #安装

CentOS 5.x compiled installation MAILX, the MAILX version of the direct Yum installation is too old, there will be a problem using external mail delivery.

Http://www.osyunwei.com/archives/8113.html


CentOS Mail Send notes

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.