cancel
Showing results for 
Search instead for 
Did you mean: 

SMTP for NetBackup

Shailesh_raj72
Level 4
Partner

Hi,

I need to configure email gateway for backup status for all error codes and some backup reports through scripts.

So that SMTP need to be configured, But I am unable to find the settings where are they located in NB.

I red the admin guide, On master server in Global attribute I added the email ID. Port 25 is also opened.

The SMTP mail server protocol is used for outgoing Email. You can configure
SMTP from theappliance userinterface(Settings>Configuration>SMTPServer).
You can usethefollowingcommands toconfigurethe SMTP serverand add a new
Email account.
Main_Menu > Settings > Alerts > Email SMTP Add

But where is Setting options?

Master server : 7.6.0.1

OS : Linux

Admin Console : Windows - 7.6.0.1

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

I red the admin guide, 

So, did you see the following in the Admin Guide?

Before emails can be sent, the computing environment must be configured correctly.

NetBackup uses the mail transfer agent sendmail to send email notifications. Install
sendmail from the following website and configure the environment accordingly:
http://www.sendmail.org/releases

This means that you need to ensure that 'sendmail' is working at OS level and that root user can use mailx command to send email. 

View solution in original post

7 REPLIES 7

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

You have to use OpsCenter to send email notifications/alerts/reports.

 

http://www.symantec.com/docs/doc6454

Shailesh_raj72
Level 4
Partner

yes but I need mails for backup status..

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

I red the admin guide, 

So, did you see the following in the Admin Guide?

Before emails can be sent, the computing environment must be configured correctly.

NetBackup uses the mail transfer agent sendmail to send email notifications. Install
sendmail from the following website and configure the environment accordingly:
http://www.sendmail.org/releases

This means that you need to ensure that 'sendmail' is working at OS level and that root user can use mailx command to send email. 

Nicolai
Moderator
Moderator
Partner    VIP   

Do a test like this on the command line to see if the mail system has been configured in you're environment

echo "test" | mailx -s "test mail" to@address.com -r from.address.com 

You need to replace the to and from address with valid mail address in your organization. 

Shailesh_raj72
Level 4
Partner

Hi Team,

 

Rather than (http://www.sendmail.org/releases) sendmail any other free ware tool is available for INDIA region.

jim_dalton
Level 6

If mail is working wherever the site is then I would ask the folks who admin it, they'll be able to tell you about configuring smtp clients...if not then I'd not implemented it, rather I'd ask up the tree about how to get something implemented. Simply implementing something to satisfy your needs could  and should raise questions that should result in a secure and managed implementation, as opposed to ad hoc.

Other solutions and answers are available.

Jim

Shailesh_raj72
Level 4
Partner

 Hi Team,

Command

echo "Test of Mail body" | mail -s "Mail subject" "xyz@gmail.com"  working fine.

I have to set mail for all backup status.

What setting I have to do.