Local emailer on 1.1.2
-
@PitaJ said in Local emailer on 1.1.2:
@exodo so local emailer isn't working. Are there no errors in the log? Are you sure it's activated? What version of emailer-local is installed?
its activated
no errors on log
i use the one from nodebb repo https://github.com/NodeBB/nodebb-plugin-emailer-local -
just saw this on log
16/8 02:07 [22661] - warn: [emailer.smtp] Unable to send
invitation
email to uid 918!!
16/8 02:07 [22661] - error: [plugins] filter:email.send, Unsupported configuration, downgrade Nodemailer to v0.7.1 to use it
16/8 02:07 [22661] - warn: [emailer.smtp] Unable to sendinvitation
email to uid 918!!
16/8 02:07 [22661] - error: [plugins] filter:email.send, Unsupported configuration, downgrade Nodemailer to v0.7.1 to use it -
I don't know enough about the emailer to tell you what to do, calling in @julian
-
@PitaJ said in Local emailer on 1.1.2:
I don't know enough about the emailer to tell you what to do, calling in @julian
thank you anyways
its getting crazy to get into 1.x.x
problems with fresh install
many plugins not even listed
my plugins with dependencies on 1.0.0 or 1.1.0 not listed
many official plugins abandoned...this one in chinesse seems updated but it doesnt work , giving some other errors
https://github.com/nnn-li/nodebb-plugin-email-smtp -
@julian said in Local emailer on 1.1.2:
I wouldn't use that plugin. Local email has been available without a plugin for awhile now.
oh thats true, it works now
-
@julian said in Local emailer on 1.1.2:
I wouldn't use that plugin. Local email has been available without a plugin for awhile now.
I couldn't get that working - running exim4 on Debian Jessie
The sendmail executable could not be found, please ensure it is installed and executable by the user running NodeBB.
There is a sendmail command - but it's not pathed for non root users and -
/usr/sbin/sendmail Exim is a Mail Transfer Agent. It is normally called by Mail User Agents, not directly from a shell command line. Options and/or arguments control what it does when called. For a list of options, see the Exim documentation.
is there any configuration you know of to control the built in mail function ?
-
Seems to work though when added to the path for the nodebb user. Still built in SMTP (or an up to date plugin) would be useful for some users I'm sure.
I was trying to use https://github.com/NodeBB/nodebb-plugin-emailer-local earlier, and although it worked, for every connection to exim4, exim4 complained afterwards
SMTP command timeout on connection from localhost [127.0.0.1]
- as though the mailer library was not closing connections to exim4 after sending. -
Hi @BuZz
For sendmail, on our own servers, we run the following commands:
echo "PATH=/usr/sbin:$PATH" >> ~/.profile
and
echo "127.0.0.1 localhost localhost.localdomain $INSTANCE_ID" >> /etc/hosts
You can see the reasoning behind the latter here: https://brianhogg.com/how-to-fix-slow-sendmail-on-a-digital-ocean-ubuntu-droplet/