11-14-2010 05:08 AM
Hi,
Is there any way that we can configure a username and password for the notifier? Or would this require creating custom triggers and scripts?
My client is implementing authentication for SMTP, so anonymous smtp mailing as done by the notifier wont be allowed anymore.
SFWHA 5.1 SP2
Windows 2003 64bit SP2
Thanks
Solved! Go to Solution.
11-14-2010 07:03 PM
From VCS Bundled agents guide (latest 5.1), it is clear that there is no attribute (even optional) for providing username / password to notifier agent.
Here is a type definition
type NotifierMngr (
static i18nstr ArgList[] = {MessageQueue, NotifierListeningPort,
SnmpdTrapPort, SnmpCommunity, SnmpConsoles, SmtpServer,
SmtpServerVrfyOff, SmtpServerTimeout, SmtpReturnPath,
SmtpFromPath, SmtpRecipients }
int MessageQueue = 30
int NotifierListeningPort = 14144
int SnmpdTrapPort = 162
str SnmpCommunity = public
str SnmpConsoles{}
str SmtpServer
int SmtpServerTimeout
str SmtpReturnPath
str SmtpFromPath
str SmtpRecipients{}
boolean SmtpServerVrfyOff
)
From VCS admin guide, hanotify command example also has no switch to give username/password, here is e.g command from VCS admin guide
hanotify -i 1.3.6.1.4.1.1302.3.8.10.2.8.0.10 -l Warning -n
agentres -T 7 -t "custom agent" -o 4 -S sys1 -L mv -p
sys2 -P mv -c MyAgent -C 7 -O johndoe -m "Custom message"
I believe you have new idea to submit. :)
Gaurav
11-14-2010 05:21 AM
SmtpFromPath is an optional attribute for NotifierMngr.
Extract from Budled Agent Guide:
This attribute must be set to a valid email address if a custom email address is desired for the FROM: field in the email sent by notifier.
11-14-2010 06:10 AM
Hi M,
I'm using that now but apparently is not authenticated. VCS never passes and username or password details. I think that is only so the mail comes from some id you've configured instead of "notifier"??
Dont really know
11-14-2010 07:32 AM
Are you getting any errors?
I was under the impression that "valid email address" would at least validate the 'from' address with the mail server...
I have tried a Google search, but could only find 2 TN's for VCS 2.0!
11-14-2010 07:03 PM
From VCS Bundled agents guide (latest 5.1), it is clear that there is no attribute (even optional) for providing username / password to notifier agent.
Here is a type definition
type NotifierMngr (
static i18nstr ArgList[] = {MessageQueue, NotifierListeningPort,
SnmpdTrapPort, SnmpCommunity, SnmpConsoles, SmtpServer,
SmtpServerVrfyOff, SmtpServerTimeout, SmtpReturnPath,
SmtpFromPath, SmtpRecipients }
int MessageQueue = 30
int NotifierListeningPort = 14144
int SnmpdTrapPort = 162
str SnmpCommunity = public
str SnmpConsoles{}
str SmtpServer
int SmtpServerTimeout
str SmtpReturnPath
str SmtpFromPath
str SmtpRecipients{}
boolean SmtpServerVrfyOff
)
From VCS admin guide, hanotify command example also has no switch to give username/password, here is e.g command from VCS admin guide
hanotify -i 1.3.6.1.4.1.1302.3.8.10.2.8.0.10 -l Warning -n
agentres -T 7 -t "custom agent" -o 4 -S sys1 -L mv -p
sys2 -P mv -c MyAgent -C 7 -O johndoe -m "Custom message"
I believe you have new idea to submit. :)
Gaurav
11-15-2010 11:28 PM
Thanks for all the feedback, I didn't have high hopes for this being possible. My client will need to make a choice, notifications, or security. Since its a bank, i think security might come out on top :)
Gonna marks Gaurav's post as the (not) solution, since it most clearly indicates its not possible :)
Thanks again
11-15-2010 11:57 PM
I echo Gaurav's suggestion - we will ALL vote!