cancel
Showing results for 
Search instead for 
Did you mean: 

Notifier not sending emails

Juannillus
Level 4
Partner Accredited

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

 

4 REPLIES 4

Gaurav_S
Moderator
Moderator
   VIP    Certified

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

mikebounds
Level 6
Partner Accredited

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

 

Marianne
Level 6
Partner    VIP    Accredited Certified

Can you confirm that sendmail is working at OS level?

Can you use mailx as root user to send and receive email?

Juannillus
Level 4
Partner Accredited

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