12-16-2013 06:59 AM
Hello all,
I 've trying to get Notifier to send emails and I cannot get it working. Apparently all attributes are correctly configured, but can't get it to work.
Logs:
-NotifierMngr_A.log
2013/12/16 14:35:13 VCS WARNING V-16-1-17046 Notifier:RCPT command failure for email@domain.com
2013/12/16 14:35:13 VCS WARNING V-16-1-17036 Notifier:SMTP error 17046
2013/12/16 14:38:13 VCS WARNING V-16-1-17046 Notifier:RCPT command failure for email@domain.com
2013/12/16 14:38:13 VCS WARNING V-16-1-17036 Notifier:SMTP error 17046
2013/12/16 14:38:13 VCS WARNING V-16-1-17046 Notifier:RCPT command failure for email@domain.com
2013/12/16 14:38:13 VCS WARNING V-16-1-17036 Notifier:SMTP error 17046
2013/12/16 14:38:13 VCS WARNING V-16-1-17046 Notifier:RCPT command failure for email@domain.com
2013/12/16 14:38:13 VCS WARNING V-16-1-17036 Notifier:SMTP error 17046
2013/12/16 14:38:13 VCS WARNING V-16-1-17046 Notifier:RCPT command failure for email@domain.com
2013/12/16 14:38:13 VCS WARNING V-16-1-17036 Notifier:SMTP error 17046
- notifier-err_A.log
2013/12/16 09:09:34 VCS WARNING V-16-1-10543 IpmServer::open Cannot create socket errno = 97
2013/12/16 09:13:42 VCS WARNING V-16-1-10543 IpmServer::open Cannot create socket errno = 97
2013/12/16 12:31:11 VCS WARNING V-16-1-10543 IpmServer::open Cannot create socket errno = 97
- Notifiermgr. (Debug has been increased)
[...]
2013/12/16 14:36:49 VCS DBG_AGTRACE V-16-50-0 Thread(4146764656) End
VCSAgTimer.C:check_timers[662]
2013/12/16 14:36:49 VCS DBG_AGTRACE V-16-50-0 Thread(4146772192) End
VCSAgNotifier.C:get_cmd[566]
2013/12/16 14:36:49 VCS DBG_AGTRACE V-16-50-0 Thread(4146772192) Begin
VCSAgNotifier.C:get_cmd[433]
2013/12/16 14:36:49 VCS DBG_AGTRACE V-16-50-0 Thread(4146772192) End
VCSAgNotifier.C:get_cmd[566]
2013/12/16 14:36:49 VCS DBG_AGTRACE V-16-50-0 Thread(4146772192) Begin
VCSAgNotifier.C:get_cmd[433]
2013/12/16 14:36:49 VCS DBG_AGTRACE V-16-50-0 Thread(4146772192) End
VCSAgNotifier.C:get_cmd[566]
[...]
I can send mails manually from de OS. NBU is sending DR files mailing correctly (for this we have masked root as mail@domain.com).
If I try to follow the TN http://www.symantec.com/business/support/index?page=content&id=TECH23392
Everything works except whe I try to execute the RCPT command:
RCPT TO: clientemail@domain.com
503 5.5.1 Error: need MAIL command
MAIL FROM: dpto_email@domain.com
250 2.1.0 Ok
RCPT TO: clientemail@domain.com
250 2.1.5 Ok
I have been looking all over the place with no luck.
Can anyone through a ray of light into my problem?
Thanks and regards,
Juan
12-16-2013 07:55 AM
Hello,
Can you paste the main.cf for see the definitions of notifier resource .. also, plz confirm the value set for smtpservervrfyoff value ..
refer
http://www.symantec.com/docs/TECH84680
This forum thread may help you as well
https://www-secure.symantec.com/connect/forums/have-vcs-send-email-admin-upon-fault
G
12-16-2013 10:40 AM
From your output it would seem that you have to use "MAIL FROM:" command and "RCPT TO:" will not work without this and if this is the case, then you will have to set the SmtpFromPath attribute on the Notifier resource
Mike
12-17-2013 04:22 AM
Can you confirm that sendmail is working at OS level?
Can you use mailx as root user to send and receive email?
12-23-2013 02:47 AM
Hello all,
at OS level the sending works correctly.
It seems that the problem was that the smtp server that redirects the email doesn't allow the user root to send emails. So we have masquerade the root address at OS level to one address permited by the server. In VCS we have configured the local email server to send the notifications and everything is working now.
However I thought that using the SmtpFromPath attribute would modify the sender address, and it will work correctly, but it didn't. Does anyone know if this attribute change the sender at header level, or it is just a "read" level, so the humans will see the address defined there?
Regards,
Juan