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