The server automatically sends an email to monitor the freeswitch process.
Vim/etc/mail. rc adds set from = ******* @ 163.com smtp = smtp: // smtp.163.com: 25 set smtp-auth-user = ****** @ 163.com smtp-auth-password = ****** smtp-auth = loginvim
I. Code Preview
In the past two days, emails are sent to struts2. The previous project was useful to spring. It was very convenient to use the mail support class provided by spring to complete this function. However, if we only use struts2, we
1, Configuration SendMailVi/etc/mail.rcJoin the lineSet BsdcompatSet from= Mail user name @domain.com smtp=smtp.126.com set smtp-auth-user= Mail user name smtp-auth-password= mailbox password Set Smtp-auth=login2, check Commands.cfg ################
ObjectiveNow SendMail service is the Linux system comes with service, default may not boot.This article does not explain how to build a local mail server, but only as a client, using the external SMTP service to send mail, so there is no need to
How Linux uses SendMail to send mail
Linux uses SendMail to send mail,Method 1 Install SendMail can be used, mail-s "test" [email protected] Bin/mail will send mail by default using local SendMail, which requires the local machine to
Description
Zabbix monitoring Server, the client has been deployed to complete, the monitoring host has been added, Zabiix monitoring operation is normal.
To achieve the purpose:
Set up mail alerts on the Zabbix server and automatically send
1. Introduce
When maintaining a Linux server, it is often necessary to look at the logs of the various services in the system to check the running state of the server. such as login history, mail, software installation and other logs. It's very
System:CentOS 6.4 default mail is pointing to MailxCentOS 5 Series is not clearRequired Packages: mailx-12.4.tar.bz2
1. Uninstall SendMail or Postfix
The code is as follows
Copy Code
Yum Remove sendmail-yYum Remove
Description
Zabbix monitoring Server, the client has been deployed to complete, the monitoring host has been added, Zabiix monitoring operation is normal.
To achieve the purpose:
Set up mail alerts on the Zabbix server
It suddenly occurred to me today that it would be nice if the server could send a daily MySQL backup to my mail. I also do not need to go to the server every day to download backup files, and this machine can also appear hard disk mechanical failure,
Original content, if you want to reprint, please specify the source.
itself because in the installation of the main hot standby high availability MySQL cluster environment, need to involve keepalived mail alarm, mail alarm and need to configure
ways to send mail using external mailboxes
Bin/mail will use the local sendmail to send mail by default, which requires local machines to install and start the SendMail service, is cumbersome to configure, and can cause
Mail Configuration
Configure new MAILX to use external mailboxes to send mail:
Edit/etc/nail.rc (Note that is not an older version of/etc/mail.rc): vi/etc/nail.rcAdd two lines:Set from=myname@qq.com smtp=smtp.qq.comSet Smtp-auth-user=myname
One, add an SMTP serverModify the following file on the server that needs to send the automatic alarm, add the following two lines# Vim/etc/mail.rcset [email protected] Smtp=smtp.126.comset Smtp-auth-user=doteyplay smtp-auth-password=*** Smtp-auth
Mailbox configuration:Tail/etc/mail.rc#要写在一行Set [email protected] smtp=smtp.163.com smtp-auth-user=gb17735517416 smtp-auth-password= smtp password is not a separate set password for the mailbox Smtp-auth =loginMail send:echo "Here is the body"-s
e-Mail via mail command under Ubuntu, pro-Test available1.mail commands are required to install under Ubuntu, using the following command:sudo apt-get install heirloom-mailx 2 You cannot send external server mail at this time, you need to
Build a printer monitoring server using Nagios
Tutorial Background: The company has many HP printers, which are difficult to manage. So I thought about whether I could be a printer monitoring server to quickly respond to all the printer problems.
Experimental background: The company has many HP HP printers, management is more troublesome. So you can be a printer monitoring server, able to quickly respond to all the problems of the printer. After the internet to check the relevant information
Configure email alert in Zabbix3.0
After setting up the Zabbix server and creating monitoring metrics and triggers, how can I use my mailbox to enable the alarm function? This article uses mail as the mail sending tool.
The following describes how
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.