SMTP Driver Error

Started by DesertRat, August 07, 2022, 02:04:17 AM

Previous topic - Next topic

DesertRat

I am trying to configure eMail notifications. I have an SMTP server set up that does not require authentication. I have attached a screenshot of the error. My configuration for the driver is:

Server=XX.XX.XX.XX
RetryCount=1
Port=25
FromName=NOC
FromAddr=<my email address>
MailEncoding=utf8
IsHTML=no

How can I troubleshoot this?

Filipp Sudanov

You may also try adding
LocalHostName=localhost
into the configuration - some smtp servers may require this.

To troubleshoot - set debug level 6 for tags nc and ncd.smtp:
debug nc 6
debug ncd.smtp 6
in server console.
Then try to send a notification, server log should have some information.
Since smtp is not encrypted, you can also use tcpdump/wireshark to see communication with smtp server.