Results 1 to 10 of 10

Thread: DB2 Emails

  1. #1
    Join Date
    Aug 2002
    Location
    Charlotte NC
    Posts
    665

    Unanswered: 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

  2. #2
    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

  3. #3
    Join Date
    Aug 2002
    Location
    Charlotte NC
    Posts
    665
    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

  4. #4
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    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"

  5. #5
    Join Date
    Aug 2002
    Location
    Charlotte NC
    Posts
    665
    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

  6. #6
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    I guess you'll just need to drop the old one...

  7. #7
    Join Date
    Aug 2002
    Location
    Charlotte NC
    Posts
    665
    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

  8. #8
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    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".)

  9. #9
    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

  10. #10
    Join Date
    Aug 2002
    Location
    Charlotte NC
    Posts
    665
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •