One, using an external mailbox to send alarm messages
Note You must first uninstall the built-in MAILX software, the built-in mail will call the SendMail server to send mail, so we recompile the installation MAILX new version
[Email protected] alertscripts]# cat/etc/mail.rc
Set [email protected] smtp=smtp.sina.com
Set [email protected] smtp-auth-password=kxe620623
Set Smtp-auth=login
Second, the question
QQ Mailbox received the message display: by <[email protected]> generation problem
This is due to the fact that the host sending the message is not using the default "Localhost.localdomain" computer name, and the custom host name is also very slow to send the message, and re-modifying the host name can be resolved.
Reference: http://www.gongzi.org/centos-mail-nosendmail.html
Zzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
CentOS Email Usage Instructions