If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > DB2 Emails

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-07-04, 09:50
JDionne JDionne is offline
Registered User
 
Join Date: Aug 2002
Location: Charlotte NC
Posts: 663
DB2 Emails

I am getting emails from my server as follows

DB2@servername.com.

Im guessing that this is the Node name that it is associating the e mail with. I need to specify the account that the e mail is sent with to work with my internal e mail system. Where is this setting kept?
Jim
__________________
------------
And back to SQL Server....I always find my way home
View my Linkedin profile
Reply With Quote
  #2 (permalink)  
Old 12-07-04, 15:02
J Petruk J Petruk is offline
Registered User
 
Join Date: Mar 2004
Location: Toronto, ON, Canada
Posts: 513
Are you talking about the task notification e-mail?

I haven't tested it but it seems that if you go to the Task Center then select Task->Set Default NotificationText there's an option to set the Sender.
__________________
--
Jonathan Petruk
DB2 Database Consultant
Reply With Quote
  #3 (permalink)  
Old 12-07-04, 15:46
JDionne JDionne is offline
Registered User
 
Join Date: Aug 2002
Location: Charlotte NC
Posts: 663
Quote:
Originally Posted by J Petruk
Are you talking about the task notification e-mail?

I haven't tested it but it seems that if you go to the Task Center then select Task->Set Default NotificationText there's an option to set the Sender.
I am talking about task notification but also the notifications for the health monitor
__________________
------------
And back to SQL Server....I always find my way home
View my Linkedin profile
Reply With Quote
  #4 (permalink)  
Old 12-07-04, 16:05
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
It is kept in the $DAS_OWNER/das/metadata/db2contact file. However, I don't think you'll be able to edit the file directly. Try these:
Code:
db2 "ADD CONTACT contact_name  TYPE EMAIL ADDRESS  email_address"  
db2 "UPDATE NOTIFICATION LIST ADD CONTACT contact_name"
Reply With Quote
  #5 (permalink)  
Old 12-07-04, 16:34
JDionne JDionne is offline
Registered User
 
Join Date: Aug 2002
Location: Charlotte NC
Posts: 663
Quote:
Originally Posted by n_i
It is kept in the $DAS_OWNER/das/metadata/db2contact file. However, I don't think you'll be able to edit the file directly. Try these:
Code:
db2 "ADD CONTACT contact_name  TYPE EMAIL ADDRESS  email_address"  
db2 "UPDATE NOTIFICATION LIST ADD CONTACT contact_name"

OK both of these things ran...my question is how do i make the new contact the default sender for the health monitor?
Jim
__________________
------------
And back to SQL Server....I always find my way home
View my Linkedin profile
Reply With Quote
  #6 (permalink)  
Old 12-07-04, 16:54
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
I guess you'll just need to drop the old one...
Reply With Quote
  #7 (permalink)  
Old 12-07-04, 17:35
JDionne JDionne is offline
Registered User
 
Join Date: Aug 2002
Location: Charlotte NC
Posts: 663
um not sure we are getting eachothers drift. I need to change the system so that when DB2 sends a mesg from health center it comes from webi@maersk.com not db2@scrbbususcnc05.apmoller.net
Is that posable?
__________________
------------
And back to SQL Server....I always find my way home
View my Linkedin profile
Reply With Quote
  #8 (permalink)  
Old 12-07-04, 20:53
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Right... Sorry I didn't realize you were talking about the "From" address. I don't know for sure but I'd think that you might try either setting up the SMTP server accordingly or pointing DB2 to the right SMTP server (db2 "update admin config using smtp_server blah-blah-blah.com".)
Reply With Quote
  #9 (permalink)  
Old 12-07-04, 22:22
J Petruk J Petruk is offline
Registered User
 
Join Date: Mar 2004
Location: Toronto, ON, Canada
Posts: 513
Not exactly intuitive, is it? If you get a chance try setting that thing in the Task Center that I noticed... but not sure if that effects the Health Center.
__________________
--
Jonathan Petruk
DB2 Database Consultant
Reply With Quote
  #10 (permalink)  
Old 12-08-04, 08:26
JDionne JDionne is offline
Registered User
 
Join Date: Aug 2002
Location: Charlotte NC
Posts: 663
I only have access to one SMTP server
and I am using it already. Guess that means im up the creek?
Jim
__________________
------------
And back to SQL Server....I always find my way home
View my Linkedin profile
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On