How to change the SANM Email notification senders address?

book

Article ID: 198929

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

The email sent by the AlarmNotifier by the sendmail (Spectrum in Linux), has the root account as the sender. How to change it to spectrum, or any other user/id?

Resolution

Modified the SetScript as follows:

$MAIL -S [email protected] -s "A $SEV alarm has occurred on $SERVER (Model Name=$MNAME)(Model Type=$MTYPE)" $RCVRS < /tmp/set_alarm.$PID