@Panda because there is no match for the DNS entry specified. The receiving web server parses the headers looking for a destination hostname to match, and anything the web server is unable to resolve will be sent back to the root.
Nodebb and emails
-
@phenomlab yes tried all the templates
-
@Panda is the error message still the same even after ensuring the email address is correct? After saving, have you restarted nodebb and tried again?
-
@phenomlab yes, Ive tried 4 years to get this working. Which mail server do you use?
-
@Panda I use my own internal post fix server. What is the latest error message you receive?
-
@phenomlab
504 5.5.2 again
with fastmail its always the same error.
And fastmail shows the app has never accessed accountWith all the other emails it gives 535
-
how difficult to set up your own ‘post fix server’ like you have?
Any costs to that? -
@Panda if you are using your own vps and have root access, you can install your own post fix server free. Not difficult, but not easy either if you do not understand the technology.
-
@phenomlab Ive put a plea of Nodebb site for a response to my many threads on this.
Im not overstating it when I say people have left nodebb because of the same headache -
what version of nodebb is this site on now? Theres a bug that when I post it remains blank. If I reload page what I type shows!
-
@Panda that’s a css issue I need to fix. Nothing major.
-
@Panda said in Nodebb and emails:
Im not overstating it when I say people have left nodebb because of the same headache
It’s going to be something simple. PM me the details of your site, and also the details for your fastmail account and I’ll get it to work.
I’ll need your fastmail login and admin access to your forum.
-
OK, after taking a look at this, I’ve done the following
- Set your nodebb insurance to use custom smtp and send via
smtp.fastmail.com
- Save and test
I now get the error
Invalid login: 535 5.7.0 Sorry, you need to create an app password to use this service. Please see fastmail.com/help for more details.
This means you need to configure an app inside fastmail to send emails.
After you’ve done this, it should work
- Set your nodebb insurance to use custom smtp and send via
-
@phenomlab ok thanks will try with app password
I wonder why it needed custom setup -
@Panda likely because the predefined settings are out of date. Realistically, nodebb devs can’t possibly maintain correct settings for mail services they do not control.
-
-
Finally it works, thanks.
I had to regenerate the app password on fastmail, and the test email send is working.Out of interest, in your custom set up of fastmail, how did you know to pick SMPT port 465?
-
@Panda experience, plus this
https://www.fastmail.help/hc/en-us/articles/1500000279921-IMAP-POP-and-SMTP
-
-
Follow up question:
Re this past comment on NodeBB
“There are three ways to send emails from NodeBB:
Emailer plugin. (Like sendgrid). These plugins allow you to use email distribution services like Sendgrid, MailChimp, etc to send out emails. This helps about issues of spam filtering and such, because it’s their email servers handling all of that. These plugins contact the email service via http and then the service sends your emails out.
SMTP transport. This is built into NodeBB. It is only used if you don’t have an emailer plugin active and you enable “Enable SMTP transport” (previously “Use an external server to send emails”) in the email settings. The SMTP transport allows you to either pick from a list of known services (provided by the underlying module nodemailer) or to provide custom settings yourself. It contacts the server via SMTP and then the SMTP server sends your your emails.”Im still confused about which of these methods is best in theory
When you use an internal post fix server does this use (1) Emailer plugin or (2) SMTP? -
@Panda it will use SMTP. In all cases, I never use any plugin to send email. I’ll anyways send it raw.
Did this solution help you?
Related Topics
-
-
NodeBB: Creating pages
Solved Configure -
-
-
nodebb dropdown menu
Solved Configure -
Iframely (Nodebb)
Solved Configure -
-