Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DB2 sending notifications by email

Status
Not open for further replies.

Adamm1

Programmer
Jan 31, 2005
2
CH
Hi,

I'm working with DB2 V8.1 and Windows XP. I'm trying to send emails from the alert monitor of the replication manager.
The mails are sent via ASNMAIL but the sender adress in the mail is asnmon@... The SMTP Server then rejects the mail because the sender is invalid. How can I change the server adress of the sender?.

If I use the test function to check contacts in the replication manager it works because then the sender is an account from how I logged in.

Thanks.


 
Adam,

does this help (from a manual not experience)

The mail notification feature is used to send alerts gathered by Replication Monitoring Center for DB2 (RMC) and/or DB2 DataPropagator Replication Alert Monitor to one or more recipients by e-mail.
In order to use this feature, you need a server providing a SMTP mailing interface. The following settings must be reviewed in the application settings:

alert.mail.sender: e-mail address that appears in the from information of a notification mail. This address is for information only; it can not be used to reach the RMC installation by mail.
alert.mail.host: Host name or IP address of the SMTP server. This mail server will be used by RMC to send the notification messages. It should provide a SMTP service at port 25.
alert.mail.recipients: One or more recipient e-mail addresses. Multiple addresses must be separated by blanks. You can dedicate different e-mail formats to individual recipients (for example, when you want to send full notification information to your Lotus Notes® or Microsoft® Outlook address but only a short abstract of alert records to your pager in parallel).
It is mandatory to specify all parameters described above. There are additional settings (alert.mail.*) that can be used to customize notification, such as notification trigger, mail content, and mailing format.

Cheers
Greg

 
Greg,

Thanks a lot for the detailed information.

What do you mean with application settings? Where are these?

I searched the DB configuration, the start parameters of the monitor server (asnmon.exe), the parameter to asnmail.exe and in the replication center?

Where can I find alert.mail.sender?

Cheers
Adam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top