Emails still not sending, 535
-
@eeeee too many bad auth attempts means you've specified an incorrect password too many times within an allocated time frame.
If you have your own vps, you can install postfix but will also require SPF, DKIM, and DMARC records added to your domain otherwise any message you send will be sent to junk. You'll also need port 25 unblocked by your provider as its the norm these days for it to be blocked to prevent misuse.
You could relay through Gmail?
-
@eeeee said in Emails still not sending, 535:
that requires the App password, and it says my free gmail account doesnt have that functionality
All Gmail accounts have this functionality, althoughfrom January, they will require OAUTH.
SMTP2GO is a reliable SMTP server that has handled email delivery for its customers since 2006. You can start for free with 1,000 emails per month.
-
Why am I suddenly thinking about Jay-Z: "I've got 99 problems..." and honestly it sounds like your ISP is all of them.
Now, did you try the telnet commands in Ubuntu? We need to see if you can use that port you are trying to send from.
telnet smtp.zoho.com 25
(blocked by Hosting Company)
telnet smtp.zoho.com 587
(open using STARTLS)
telnet smtp.zoho.com 465
(blocked by Zoho)I do not know your smtp address, I Googled it, and it showed me smtp.zoho.in, I tried it on several different ports, but smtp.zoho.com did work.
This is what I get on JBrowns.com server because port 25 is blocked:
Then I tied 587 as per the instructions on their site https://www.zoho.com/zeptomail/articles/smtp-configuration.html:
I wanted to show you my mail system with port 25 opened:
The bottom line, is if your server or ISP is blocking the port with the firewall, then you will not be able to go any further until you either figure out a way to bypass it, or open it.
-
Yes I did try those telnet commands
telnet smpt.zoho.in 465 Trying 169.148.146.140.. Connected to smtp.zoho.in Escape character is '^]'. Connection closed by foreign host
It didnt mean much to me.
I rember last time looked into this issue I was told
"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."Is emailer plugin a better way to send emails??
-
@codenamejessica @eeeee one important note for smtp over telnet is that it can be quite unforgiving if you make a mistake when typing commands. If you press the delete key after realising a mistake it never seems to actually correct it despite it looking OK on screen.
Just something to be aware of it it doesn't work.
-
@phenomlab, you are absolutely correct, CTRL-H is how you delete in telnet.
-
Ok, I did some testing. Here is what you need to do:
openssl s_client -connect smtp.zoho.in:465
This will send a handshake request with an SSL. Telnet does not natively support TLS, so you’ll need to use openssl to establish a secure connection and issue commands manually.
EHLO yourdomain.com
MAIL FROM:<email address>
(Include the <>)
RCPT TO:<email address>
(Include the <>)I received the email successfully.
-
I will experiment with this later when Im home on laptop, but it seems complicated and I dont get why the server would need to do all this low level connecting.
E.g. if I can send an email from yahoo, why cant nodebb if I give it my username and password?This should be all at browser level, not need some low level hacking of server and ports?
-
@eeeee The reason for this complexity is that servers require additional configurations to prevent abuse, such as sending spam in bulk. Unlike when you send an email through Yahoo or another email service, where the browser interfaces with their pre-configured servers, NodeBB operates on your server, which takes on the responsibility of sending the email. This means the server needs to be properly set up to handle outgoing email, including authentication, port configurations, and anti-spam measures.
As for your home setup, it’s important to note that home labs are not typically suited for production environments. Professional server farms give administrators full control over incoming and outgoing traffic. However, most residential ISPs impose strict controls on what can pass through their network. Unless you purchase a dedicated connection like a T1 line (which can cost approximately $8,000 per month in the U.S.), your home server will be subject to your ISP’s policies and limitations.
EDIT: (Sorry, I had to reword all of that, it was a mess).