Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error email #319

Closed
CarmeloCampos opened this issue Aug 31, 2019 · 14 comments
Closed

Error email #319

CarmeloCampos opened this issue Aug 31, 2019 · 14 comments

Comments

@CarmeloCampos
Copy link

When I do a "node main.js" in the "server" folder I get the following error:

SSL Proxy listening on port 443
mx resolved:
MX connection created:
recv tierravivaplanet.com>220-vmi33249.contabo.host ESMTP Exim 4.92 #2 Sat, 31 Aug 2019 16:33:22 -0500
recv tierravivaplanet.com>220-We do not authorize the use of this system to transport unsolicited,
recv tierravivaplanet.com>220 and/or bulk e-mail.
send tierravivaplanet.com>EHLO tierravivaplanet.com
recv tierravivaplanet.com>250-vmi33249.contabo.host Hello 149.212.239.35.bc.googleusercontent.com [35.239.212.149]
recv tierravivaplanet.com>250-SIZE 52428800
recv tierravivaplanet.com>250-8BITMIME
recv tierravivaplanet.com>250-PIPELINING
recv tierravivaplanet.com>250-STARTTLS
recv tierravivaplanet.com>250 HELP
send tierravivaplanet.com>MAIL FROM:<no_reply@tierravivaplanet.com>
recv tierravivaplanet.com>250 OK
send tierravivaplanet.com>RCPT TO:<soporte@tierravivaplanet.com>
recv tierravivaplanet.com>550 SMTP AUTH is required for message submission on port 587
SMTP responds error code 550
Error with your mail server: SMTP code:550 msg:550 SMTP AUTH is required for message submission on port 587

It should be noted that I edited the file ~/opentrade/server/constants.js With my emails that I want to use, And also the sendmail.js file with the port my hosting uses.
It seems that the error lies in the lack of smtp authentication, but I can't find where to put it

@ExchangeTime
Copy link

open port 25?

@CarmeloCampos
Copy link
Author

open port 25?

My server does not use 25 if not 587, so I changed it

@ExchangeTime
Copy link

well, recode the mail outputs then?

@CarmeloCampos
Copy link
Author

I think I have to authenticate to use the SMTP, but I can't find where

@ExchangeTime
Copy link

@CarmeloCampos ..........

@CarmeloCampos
Copy link
Author

😢 tons k?

@3s3s
Copy link
Owner

3s3s commented Sep 7, 2019

smtp (email) protocol MUST working on port 25.
If your hosting provider blocks the port 25 then you have only two alternatives:

  1. disable email notifications in constants.js
  2. change your hosting provider.

@CarmeloCampos
Copy link
Author

change hosting to one with port 25 active, but still tell me that authentication is missing.
I was checking the sendemail in node_module and there you can change the port, but I don't know where the smtp authentication is added

@3s3s
Copy link
Owner

3s3s commented Sep 9, 2019

DO NOT TRY change the port 25 to another. This is a meaningless and useless operation. Either you open port 25 or mail will not work. No options! Mail in OpenTrade is sent to user directly, not through relays. In this case, authorization is not required. If the error continues to appear - this is the bug of your hosting provider but not OpenTrade

@3s3s 3s3s closed this as completed Sep 9, 2019
@3s3s 3s3s pinned this issue Sep 9, 2019
@CarmeloCampos
Copy link
Author

I communicated with my hosting and they cannot enable entry without smtp, how can I proceed?
Isn't there a way to place the smtp?

@ExchangeTime
Copy link

Get a vps from vultr (ask them to open port) or VPSserver always got port 25 open

@CarmeloCampos
Copy link
Author

@ExchangeTime But do they have email service already?

@minblock
Copy link

minblock commented Sep 19, 2019

You cannot forward e-mail to a box like that. For SMTP to work properly, you need to relay that. And in order to do that you must have a relay point with Dovecot installed on it for authentication in sasl and dkim so that it could be accepted by the final destination's mail server. You could just open up port 25 on your email server however, it must be setup correctly to avoid having people exploiting for spamming purposes. You would be best off with a VPN tunnel to your SMTP relay then forward on to your SecuredEmail server for distribution. It will need to have a user account with a mailbox or else your e-mails from soporte@tierravivaplanet.com will be bounced. Do you have a working email box that acc3pts emails at that address?

@CarmeloCampos
Copy link
Author

You cannot forward e-mail to a box like that. For SMTP to work properly, you need to relay that. And in order to do that you must have a relay point with Dovecot installed on it for authentication in sasl and dkim so that it could be accepted by the final destination's mail server. You could just open up port 25 on your email server however, it must be setup correctly to avoid having people exploiting for spamming purposes. You would be best off with a VPN tunnel to your SMTP relay then forward on to your SecuredEmail server for distribution. It will need to have a user account with a mailbox or else your e-mails from soporte@tierravivaplanet.com will be bounced. Do you have a working email box that acc3pts emails at that address?

@minblock Yes, I have a mailbox in that direction

@3s3s 3s3s mentioned this issue Feb 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants