Newbie seeks help setting up mailer in Cronicle #886
Replies: 1 comment 2 replies
-
Well, these problems do not involve Cronicle per se. You just need help setting up your SMTP server, it seems.
You've got "Nodemailer" installed? Um........... why are you installing Nodemailer? It comes with Cronicle automatically. There's nothing to install. It's just an NPM module that Cronicle installs for you. This is a very confusing statement.
Okay, from this statement it sounds like you already have an SMTP server? But then you go on to say...
So the question becomes, where exactly is your SMTP server running? Is it on the same server where Cronicle is running? If so, then telnet'ing to port 25 on localhost should definitely work. If it does not, then your SMTP server is not actually running. Check the logs, check systemctl status, etc. Also, you can use tools like If your SMTP server is not running on the same box as Cronicle, then you need to change the smtp_hostname configuration property to the IP address or hostname of the server that is actually running your SMTP server. If you need help setting up an SMTP server, check out this guide. Good luck! |
Beta Was this translation helpful? Give feedback.
-
Hi
I'm new to Linux and have installed Cronicle on a Mint box and it works fine. But I can't get the emailer to work. I've got NodeMailer installed and set up the config in Cronicle to use our SMTP server, but get an error:
Error
Failed to send e-mail for job: jm8ume4zo0f: [email protected]: Error: connect ECONNREFUSED 127.0.0.1:25
This is correct. If I telnet to 127.0.0.1 25 on the Mint box I also get refused.
I suspect I need to set up a 'transport' for nodemailer but can't see how to do that?
All suggestions much appreciated -0 thanks.
Beta Was this translation helpful? Give feedback.
All reactions