Sie sind auf Seite 1von 4

How-To : Install Blat Command Line SMTP Mailer on Windows | Virtu...

1 de 4

http://virtualdennis.com/how-to-install-blat-command-line-smtp-mailer...

Virtual Dennis
Sharing Technical Tips Learned the Hard Way

How-To : Install Blat Command Line


SMTP Mailer on Windows
Posted on February 5, 2013

In order for NetBackup to email reports, alerts and other functions, you will need to install the
free opensource utility called "Blat" and configure NetBackup to use it. This lesson will
describe how to do this.

IN S TAL L B L AT C OM M AN D L IN E S M T P M AIL E R

15/07/2013 09:44

How-To : Install Blat Command Line SMTP Mailer on Windows | Virtu...

2 de 4

http://virtualdennis.com/how-to-install-blat-command-line-smtp-mailer...

First, download "Blat" from their opensource homepage at: http://sourceforge.net/projects


/blat/files
Click on the "Download Now" button to download the zip file containing Blat.

Save the zip file somewhere you can browse to.

Then extract the files from the zip.

Copy the blat.exe and other associated blat files to the C:\WINDOWS\System32
directory in Windows.

From a command prompt, run the following command (Note: This will be the primary account

15/07/2013 09:44

How-To : Install Blat Command Line SMTP Mailer on Windows | Virtu...

3 de 4

http://virtualdennis.com/how-to-install-blat-command-line-smtp-mailer...

that will send the emails from the specified server):


% blat -install <server addr> <senders addr>
Note: "<server addr>" is the hostname or IP address of the email server that will send the
email notifications.
"<senders addr>" is the account that will be the primary sender of the email notifications.
Example:
blat -install emailserver.company.com useraccount@company.com

T E S T IN G T H E B L AT IN S TAL L AT ION

Test the installation of blat by creating a text file C:\testfile.txt with a message and emailing
it to the NetBackup administrator (1).
Use the following command line syntax to email the file (2):
blat C:\testfile.txt -s test_subject -to useraccount@company.com
If blat is working correctly, the NetBackup administrator should receive the contents of the
C:\testfile.txt file.

S E T U P BL AT W IT H U S ER R EL AY
AU T H E N T IC AT ION
If you need to install Blat to use SMTP user relay, use the following install format instead:
blat -install -f <sender-email> -server <email-server> -u <login> -pw <password>

C ON FIGU R E N E T B AC K U P T O U S E B L AT
If you would like to configure Netbackup to use Blat to email reports and status notifications,
you will need to first configure "nbmail.cmd" under the Netbackup\bin directory. For
information on how to do this, please see this Symantec Support Document located here:

15/07/2013 09:44

How-To : Install Blat Command Line SMTP Mailer on Windows | Virtu...

4 de 4

http://virtualdennis.com/how-to-install-blat-command-line-smtp-mailer...

http://seer.entsupport.symantec.com/docs/254809.htm
This entry was posted in Manuals & How-To's and tagged blat, netbackup reports, smtp
mailer, windows by virtualdennis. Bookmark the permalink [http://virtualdennis.com
/how-to-install-blat-command-line-smtp-mailer-on-windows/] .

15/07/2013 09:44

Das könnte Ihnen auch gefallen