NetXMS Support Forum

English Support => General Support => Topic started by: suphu on April 09, 2013, 04:00:09 PM

Title: ServiceCheck.SMTP does not work for me
Post by: suphu on April 09, 2013, 04:00:09 PM
ServiceCheck.SMTP("<my ip addr>","[email protected]") always returns 3

Here is the log from my SMTP server (I am using hMailServer)
"SMTPD"   3784   5793   "2013-04-09 08:45:25.814"   "<my ip addr>"   "SENT: 220 domain.local"
"SMTPD"   3784   5793   "2013-04-09 08:45:25.814"   "<my ip addr>"   "RECEIVED: HELO MAILSVR"
"SMTPD"   3784   5793   "2013-04-09 08:45:25.814"   "<my ip addr>"   "SENT: 250 Hello."
"SMTPD"   3784   5793   "2013-04-09 08:45:25.814"   "<my ip addr>"   "RECEIVED: MAIL FROM: noreply@n"
"SMTPD"   3784   5793   "2013-04-09 08:45:25.829"   "<my ip addr>"   "SENT: 550 The address is not valid."

I also tried this in the agent config
*portCheck
DomainName = domain.local

The only diff
"SMTPD"   3784   5793   "2013-04-09 08:45:25.814"   "<my ip addr>"   "RECEIVED: MAIL FROM: noreply@d"

It appears the DomainName is truncated to 1 char

Title: Re: ServiceCheck.SMTP does not work for me
Post by: Alex Kirhenshtein on April 09, 2013, 05:23:06 PM
Confirmed, will be resolved in next release.
https://www.radensolutions.com/chiliproject/issues/260