1. Download tool
Address: http://www.blat.net/
File name: Blat3217_64.full.zip
2. Copy the main program file Blat.exe to the C:\Windows\System32 directory
1) switch to the cmd window to test whether the Blat command can be executed correctly
3, Installation Blat
Blat-install smtp.163.com [email protected]-u [email protected]-PW passwd_xxxx
Note:
Smtp.163.com: The mail server address to send mail to
[Email protected]: email address to send mail
-U: Mail user
-PW: Email password
4. Test whether to send mail
Blat C:\testfile.txt-s test_subject-to [email protected]
Note:
C:\testfile.txt: Message Content
-S: Message header
-to: Receive email address
Test whether you can receive mail
5, copy C:\Program files\veritas\netbackup\bin\goodies\nbmail.cmd to
C:\Program Files\veritas\netbackup\bin\nbmail.cmd
Edit Nbmail.cmd File
@REM @IF "%~4" = = "" (
@REM blat%3-s%2-t%1-i netbackup-server warthog-q
@REM) ELSE (
@REM blat%3-s%2-t%1-i netbackup-server warthog-q-attach%4
@REM)
Replaced by
@IF "%~4" = = "" (
Blat%3-s%2-t%1-server smtp.163.com
) ELSE (
Blat%3-s%2-t%1-server Smtp.163.com-attach%4
)
Note: Parameter description
-S Message header
-T flag message recipients
-I mail original sender defaults to NetBackup
-server SMTP mail server IP address or host name
-Q Silent Display
6. Configure send failed Job
modify in global settings of Master and Media server, separate multiple messages with commas
NetBackup Management--->host Properties--->master Server--->xxxx---->global Attributes
NetBackup Management--->host Properties--->master Server--->xxxx---->universal Setting
Netbackup Email Alarm Configuration