Veritas-bu

Re: [Veritas-bu] Backup exit notify

2007-09-28 12:25:45
Subject: Re: [Veritas-bu] Backup exit notify
From: "Clooney, David" <david.clooney AT bankofamerica DOT com>
To: ckstehman AT pepco DOT com
Date: Fri, 28 Sep 2007 17:00:03 +0100

Thanks Carl

 

Yep I understand all this, and the below is when incorporated into one of the exit notify scripts, however I am not utiliding any of these.

 

If you turn on the SERVER to send mail on all clients, somewhere in the NBU binaries mails are being sent.

 

Have just learned that from the library /opt/openv/lib/libVbp.so the “mail” program is being used so will endeavour to check the servers mail.cr to possibly masquerade.

 

Dave

 


From: ckstehman AT pepco DOT com [mailto:ckstehman AT pepco DOT com]
Sent: 28 September 2007 16:26
To: Clooney, David
Cc: veritas-bu AT mailman.eng.auburn DOT edu; veritas-bu-bounces AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Backup exit notify

 


Here is what I did. I added the sendmail call in my script and have the script "su" to the allowed user before calling sendmail.
Something like this:
su $EMAILUSER -c "cat $RPT_DESTN_DIR/some_report.txt|/usr/lib/sendmail -f $SENDER_EMAIL -t $RECIPIENT_LIST  "

Notice that sendmail had the -f parameter, this changed the from and $SENDER_EMAIL could be your david.clooney AT bankofamerica DOT com
$EMAILUSER is the non-root user that has a valid account on the system.  $RECIPIENT_LIST is the e-mail addresses to send the message to.

Hope this helps



=============================
Carl Stehman
IT Distributed Services Team
Pepco Holdings, Inc.
202-331-6619
Pager 301-765-2703
ckstehman AT pepco DOT com


"Clooney, David" <david.clooney AT bankofamerica DOT com>

09/28/2007 10:52 AM

To

ckstehman AT pepco DOT com

cc

veritas-bu AT mailman.eng.auburn DOT edu, veritas-bu-bounces AT mailman.eng.auburn DOT edu

Subject

RE: [Veritas-bu] Backup exit notify

 

 

 




Thanks everyone
 
Just did a bit of digging around as I am quite aware of the exit notify scripts and have now totally bypassed them i.e
 
I have removed all notify scripts from the bin directory.
 
Settings on the CLIENT
 
USEMAIL = david.clooney AT bankofamerica DOT com
SERVER_SENDS_MAIL = YES
 
Upon the completion of a backup I still get a confirmation email from root AT masterserver DOT com.
 
I am convinced this is incorporated into a binary somewhere and as NBU runs as root when the mail is sent it picks up the user, this I need to change somehow
 
Am I going mad ?
 
Dave
 

 



From: ckstehman AT pepco DOT com [mailto:ckstehman AT pepco DOT com]
Sent:
28 September 2007 14:41
To:
Clooney, David
Cc:
veritas-bu AT mailman.eng.auburn DOT edu; veritas-bu-bounces AT mailman.eng.auburn DOT edu
Subject:
Re: [Veritas-bu] Backup exit notify

 

We set up a special account that is allowed to send e-mail from the server being backed up, and "su"-ed to that user before calling sendmail.


=============================
Carl Stehman
IT Distributed Services Team
Pepco Holdings, Inc.
202-331-6619
Pager 301-765-2703
ckstehman AT pepco DOT com

"Clooney, David" <david.clooney AT bankofamerica DOT com>
Sent by: veritas-bu-bounces AT mailman.eng.auburn DOT edu

09/28/2007 04:28 AM

 

To

veritas-bu AT mailman.eng.auburn DOT edu

cc

 

Subject

[Veritas-bu] Backup exit notify


 

 

 

 





All

 
Solaris 8

 
Does anyone know how to change the senders address when backup notify is executed on the master server?

 
i.e. at the moment we get
root AT masterserver DOT com
 
Need to change it to adhere to policy
 
 
Thanks

 
Dave

 

 


 




Notice to recipient:
The information in this internet e-mail and any attachments is confidential and may be privileged. It is intended solely for the addressee. If you are not the intended addressee please notify the sender immediately by telephone. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.


When addressed to external clients any opinions or advice contained in this internet e-mail are subject to the terms and conditions expressed in any applicable governing terms of business or client engagement letter issued by the pertinent Bank of America group entity.

If this email originates from the U.K. please note that Bank of America, N.A., London Branch and Banc of America Securities Limited are authorised and regulated by the Financial Services Authority.

 



_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu




This Email message and any attachment may contain information that is proprietary, legally privileged, confidential and/or subject to copyright belonging to Pepco Holdings, Inc. or its affiliates ("PHI"). This Email is intended solely for the use of the person(s) to which it is addressed. If you are not an intended recipient, or the employee or agent responsible for delivery of this Email to the intended recipient(s), you are hereby notified that any dissemination, distribution or copying of this Email is strictly prohibited. If you have received this message in error, please immediately notify the sender and permanently delete this Email and any copies. PHI policies expressly prohibit employees from making defamatory or offensive statements and infringing any copyright or any other legal right by Email communication. PHI will not accept any liability in respect of such communications.


This Email message and any attachment may contain information that is proprietary, legally privileged, confidential and/or subject to copyright belonging to Pepco Holdings, Inc. or its affiliates ("PHI"). This Email is intended solely for the use of the person(s) to which it is addressed. If you are not an intended recipient, or the employee or agent responsible for delivery of this Email to the intended recipient(s), you are hereby notified that any dissemination, distribution or copying of this Email is strictly prohibited. If you have received this message in error, please immediately notify the sender and permanently delete this Email and any copies. PHI policies expressly prohibit employees from making defamatory or offensive statements and infringing any copyright or any other legal right by Email communication. PHI will not accept any liability in respect of such communications.

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu