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

SMTP configuration #330

Open
mihha opened this issue Apr 25, 2024 · 3 comments
Open

SMTP configuration #330

mihha opened this issue Apr 25, 2024 · 3 comments

Comments

@mihha
Copy link

mihha commented Apr 25, 2024

Guys, I am trying to configure docker installation to send emails, but something is not working, and I can't see any messages in any log to see what exactly is wrong

I have this in my docker file

  web:
    image: riggraz/astuto:latest
    environment:
      POSTGRES_USER: postgres
      POSTGRES_PASSWORD: MY_PASSWORD
      BASE_URL: https://my_url.com
      SECRET_KEY_BASE: MY_SECRET_KEY
      EMAIL_DELIVERY_METHOD: smtp
      EMAIL_SMTP_HOST: "my_amazon_smtp_host_address"
      EMAIL_SMTP_PORT: 465
      EMAIL_SMTP_USER: "my_ses_username"
      EMAIL_SMTP_PASS: "my_ses_username_password"
      EMAIL_SMTP_AUTH: true
      EMAIL_SMTP_TLS: true
      EMAIL_MAIL_FROM: "[email protected]"
      EMAIL_MAIL_REPLY_TO: "[email protected]"

SMTP server credentials, port and everything else is for sure correct, because I have checked this with my other self-hosted service

I have no idea how to debug this

Can someone point me into the right direction, please?

@inthebrilliantblue
Copy link

Im pretty sure astuto is just broken when it comes to email. As far as I can tell, it has no proper logging for when someone provides incorrect SMTP user / pass to it, as it still gives me logs that it sent a confirmation email successfully even though I intentionally gave it wrong credentials to try to force the logs to change. And based on this tickets age with no replies, it doesnt give me the warm fuzzies about a fix.

@mihha
Copy link
Author

mihha commented May 15, 2024

I agree to your comment about the fix. Already gave up on Astuto two weeks ago

Too bad, because this looked promising, but I had to move on and use something else

@pilasguru
Copy link

Astuto has mail option broken.

I have configured a local (docker) smtp proxy without validation requirements and this is the log each time astuto try to send an e-mail:

2024-05-31T19:31:35.886096+00:00 a64adacb47b7 postfix/smtpd[139]: connect from astuto-web-1.astuto_astuto[172.27.0.4]
2024-05-31T19:31:35.888266+00:00 a64adacb47b7 postfix/smtpd[139]: lost connection after AUTH from astuto-web-1.astuto_astuto[172.27.0.4]
2024-05-31T19:31:35.888420+00:00 a64adacb47b7 postfix/smtpd[139]: disconnect from astuto-web-1.astuto_astuto[172.27.0.4] ehlo=1 auth=0/1 commands=1/2

Astuto is not completing the SMTP process.

Current version: 20240521124018

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

3 participants