Unsolved
This post is more than 5 years old
1 Rookie
•
79 Posts
0
1118
March 7th, 2008 07:00
escalation policy mail
I have a question with smarts i have an escalation mail that sends mail to my outlook as root but i need to change the user sending the mail to another user e.g john blogg.
Is this possible as the file that sends an email ics-issue.sh uses root to send that email. Is there any user that can send this mail apart from root.
Is this possible as the file that sends an email ics-issue.sh uses root to send that email. Is there any user that can send this mail apart from root.
No Events found!
SKT2
2 Intern
•
1.3K Posts
0
March 7th, 2008 08:00
dele1
1 Rookie
•
79 Posts
0
March 8th, 2008 01:00
SKT2
2 Intern
•
1.3K Posts
0
March 8th, 2008 15:00
dele1
1 Rookie
•
79 Posts
0
March 10th, 2008 00:00
oot@ojt-smarts-pri # more ics-issueMail3.sh
#!/bin/sh
#################################################################
# Dimension Data Customisations
# =============================
# @(#) $Id: ics-mailEvent.sh#1 $ Dimension Data
# Last edit: $Author: marius.roosenschoon $ $DateTime: 2006/03/20 $
# Copyright (C) 2007, Dimension Data
# All Rights Reserved
#
# This is a script to be used in conjunction with an escalation
# policy to mail notification details.
#
#################################################################
# -- User Defined Vaiables --
# Location of the escalation files
notificationFileDir=/opt/InCharge6/escalationMails
# mail recipient list, white space seperated e.g.: mailRecipients="root@localhos
t another@wherever.com.ng"
mailRecipients="DOkuwa@aol.com"
SKT2
2 Intern
•
1.3K Posts
0
March 10th, 2008 05:00
which is the OS?
I guess the script can be owned by another user and when called will be executed from that particlar owner/user
dele1
1 Rookie
•
79 Posts
0
March 10th, 2008 07:00
it used to be root
-rwxr--r-- 1 dele other 5575 Mar 7 11:02 ics-issueMail3.sh
dele1
1 Rookie
•
79 Posts
0
March 10th, 2008 07:00
Dinand1
89 Posts
0
March 10th, 2008 07:00
cheers
F
dele1
1 Rookie
•
79 Posts
0
March 10th, 2008 08:00
sorry it did not work after changing that file mail-notify.conf