By the way....the latest copy still isn't copying the users from my server or sending email. Now it lists the user not found whether or not it is.
As I said a few times now, an actual example picture with no blackouts, would be helpful. I cannot tell what I'm supposed to keep in the example file and what I do not. For example the < and > . Are those supposed to be left or removed?
UPDATE: AH HA!!!!!!! You have to remvoe the < and > as well as the address!!!!!!! You never said that!!!!!!
Very cool!!! I couldn't imagine what was going on!!! Will update the sample config file to reflect the "real" way to do it.... I need to work on my documentation skills apparently..
I'm having issues setting this up. I've sendmail running on my Odroid (Ubuntu 18.04) for a long time. And I can send email as "xyz.hubitat@gmail.com" directly from the odroid with no issues (authentication is properly setup).
I think I have eml_config.js setup correctly. Here's what it looks like:
Running "node app.js" starts with no errors, and node binds TCP port 3000.
From my Mac, if I try "curl http://ip_address:3000/email", this is what is returned:
{"AllowedAddrs":["xyz.hubitat@gmail.com"]}
So it would seem like eml_config.js is ok and that app.js is starting up just fine.
However, from within Hubitat, when I setup a DoNS-MyEmail device, I get an error when I click on "Save Configuration" and the authuser doesn't show up under Current States. Here's the error:
[dev:1733](http://192.168.1.36/logs#dev1733)2019-08-31 08:09:14.584 [error](http://192.168.1.36/device/edit/1733)java.lang.Exception: No response data exists for async request on line 81 (httpGetEmlList)
Here's the Hubitat configuration. Obviously, I'm doing something wrong. Can you help me fix it please?
So the "sendmail" part is the simplest - it actually doesn't use eml_config.js for lookups at all. I changed my device from "ssmtp" to "sendmail" and was able to send test entries just fine. My configuration looks exactly like yours. hmmmm