Re: [Veritas-bu] Setting NetBackup "Sender" address in UNIX

2008-06-17 Thread James Pattinson
Marion Hakanson wrote:
> [EMAIL PROTECTED] said:
>   
>> If not, can it be done with sendmail on Solaris? :) 
>> 
>
> That's a sendmail question, but you may be in need of enabling some form
> of sender masquerading.  On Solaris, look in /usr/lib/mail/README for some
> flags you can set in /usr/lib/mail/cf/sendmail.mc and then regen sendmail.cf
> based on those settings.
>   

Hi Marion

Thanks for the above, that's the route I decided to go down as I feel 
it's more elegant than hacking the netbackup scripts.

I needed to add these lines into sendmail.mc:

MASQUERADE_AS(mydomain.com)dnl
FEATURE(masquerade_envelope)dnl
FEATURE(masquerade_entire_domain)dnl
MASQUERADE_DOMAIN(mydomain.com)dnl

Also I had to edit the solaris-generic.m4 file to remove the part which 
exposes root's email as NetBackup will be sending it's emails from the 
root account.

Cheers :)

James
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Setting NetBackup "Sender" address in UNIX

2008-06-17 Thread ckstehman
Have you tried 
sendmail -f  where email is a valid non root e-mail address on your 
network?
such as
sendmail -f $SENDER_EMAIL -t $RECIPIENT_LIST

=
Carl Stehman
IT Distributed Services Team
Pepco Holdings, Inc.
202-331-6619
Pager 301-765-2703
[EMAIL PROTECTED]



Marion Hakanson <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
06/16/2008 05:42 PM

To
[EMAIL PROTECTED]
cc
Veritas-bu@mailman.eng.auburn.edu
Subject
Re: [Veritas-bu] Setting NetBackup "Sender" address in UNIX






[EMAIL PROTECTED] said:
> NetBackup notifications currently end up in my Inbox as from "Super-User
> <[EMAIL PROTECTED]>" which our corporate email server does not like 
at
> all.
>
> Is there a way to get NetBackup to spoof another email address?

Many of the notifications are generated by notify scripts that live 
somewhere
under /usr/openv/netbackup/bin/.  The originals are in the "goodies/" 
subdir,
and are intended to be customized as needed.  On Solaris, you would need 
to
add "-r [EMAIL PROTECTED]" to the "mailx" command used to generate the message,
e.g. in mail_bp_reports.


> If not, can it be done with sendmail on Solaris? :) 

That's a sendmail question, but you may be in need of enabling some form
of sender masquerading.  On Solaris, look in /usr/lib/mail/README for some
flags you can set in /usr/lib/mail/cf/sendmail.mc and then regen 
sendmail.cf
based on those settings.

Regards,

Marion


___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.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.
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Setting NetBackup "Sender" address in UNIX

2008-06-16 Thread Marion Hakanson
[EMAIL PROTECTED] said:
> NetBackup notifications currently end up in my Inbox as from "Super-User
> <[EMAIL PROTECTED]>" which our corporate email server does not like  at
> all.
>
> Is there a way to get NetBackup to spoof another email address?

Many of the notifications are generated by notify scripts that live somewhere
under /usr/openv/netbackup/bin/.  The originals are in the "goodies/" subdir,
and are intended to be customized as needed.  On Solaris, you would need to
add "-r [EMAIL PROTECTED]" to the "mailx" command used to generate the message,
e.g. in mail_bp_reports.


> If not, can it be done with sendmail on Solaris? :) 

That's a sendmail question, but you may be in need of enabling some form
of sender masquerading.  On Solaris, look in /usr/lib/mail/README for some
flags you can set in /usr/lib/mail/cf/sendmail.mc and then regen sendmail.cf
based on those settings.

Regards,

Marion


___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


[Veritas-bu] Setting NetBackup "Sender" address in UNIX

2008-06-16 Thread James Pattinson
All,

NetBackup notifications currently end up in my Inbox as from "Super-User 
<[EMAIL PROTECTED]>" which our corporate email server does not like 
at all.

Is there a way to get NetBackup to spoof another email address?

If not, can it be done with sendmail on Solaris? :)

Cheers
James
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu