Deliver mails locally
my nodebb forum (1.0.3) runs on a debian 7 server. There is also a postfix instance listening to port 25. I can´t recall but I´ve read somewhere that for a local transport nodebb uses sendmail. However, this doesn´t work, mails do not get delivered. Only after installing the
nodebb-plugin-emailer-localmail gets correctly delivered.
Is this plugin mandatory for delivering mails locally? Thank you
@yariplus Which kind of issues did you have? Only with the setup? With sendmail or postfix?
I'm quite interested since I just set-up mine with plain postfix without NodeBB plugin and it's working fine for me.
@mechanix "This doesn't work, mails do not get delivered" is a bit imprecise. Are the logs (
systemctl status postfix -las root) showing anything relevant?
@yariplus I have found that piece of information: https://community.nodebb.org/topic/6453/email-configuration-using-local-postfix/7
Postfix is working great. A test mail from the CLI
echo "Test mail" | sendmail -i -f [email protected] [email protected]is delivered. However, when deactivating the
nodebb-plugin-emailer-locali see no delivery attempts in the logfiles.
Sendmail MTA is installed :
root@forum:~# which sendmail /usr/sbin/sendmail
@mechanix Are you trying this with the same user that runs your forum?
rootdoesn't sound well for that. And if you're running your forum as non-root you probably have to follow the advice within your linked post and symlink it into a non-super-user binaries directory.
@yariplus good to hear it's just that seriously I give a *** about services that block emails from non-trusted entities just because of that. E-Mail is a decentralized system therefor anybody can set-up his server; If google is not respecting this, I don't care about them.