Problem with SMTP Action (maybe since V2.10-M1)

Started by Dani@M3T, October 31, 2016, 01:33:04 PM

Previous topic - Next topic

Dani@M3T

Hi

I have an installation of NetXMS V2.1-M1 on Linux.
I'm not 100% sure, but I think the problem appeared with the update from V2.0.6. There is a local Postfix installation on the NetXMS server itself for relaying outgoing mails to mail server of Microsoft Exchange Online by TLS. In NetXMS server 'SMTPServer = localhost'. That worked fine in V2.0.6. But now no mails arrive at the Postfix server. I set DebugLevel of the NetXMS server to 6 and I see in the log:

"...EVENT SYS_SMTP_FAILURE [22]... Unable to resolve SMTP server name"

What I tried yet:

       
  • send mail on command line on the NetXMS server (by nc or telnet) to the local Postfix server (same receipient, same sender) -> works
  • searched for ingoing mails in Postfix logs -> no mails
  • changed server conf value SMTPServer to '127.0.0.1' (so no name resolution necessairy) -> not working
  • changed server conf value SMTPServer to FQDN of server -> not working
What can I do to further troubleshoot this? As we cannot get any mails from NetXMS now.

Thanks
Dani

edit: typos and precision


Dani@M3T


Victor Kirhenshtein

Hi,

there is a bug introduced in 2.1-M1 - SMTP sender do not accept loopback addresses. I'll fix that for next release. In the meantime you can use server's external IP as mail server address.

Best regards,
Victor

Dani@M3T

Hi Victor

I just tested with IP address, that works! Thanks a lot for your help.

best regards
Dani