This site uses cookies. By continuing to browse the site, you agree to our use of cookies. Find out more about cookies.
Skip to main content
Metadecidim's official logo
  • English Triar la llengua Elegir el idioma Choose language
    • Català
    • Castellano
Sign Up Sign In
  • Home
  • Processes
  • Assemblies
  • Initiatives
  • Consultations
  • Conferences
  • Help

Support Forum

#supportforum Any doubts or questions on how to use Decidim? Check them with the Community!

  • The process
  • I have a question
  • Community Tutorials
chevron-left Back to list

Configuración servidor SMTP

Avatar: Daniel Rodriguez Daniel Rodriguez
13/01/2021 17:07  

Acabó de completar una instalación limpia, sin embargo no me es posible sortear el problema de envío de correos.

E, [2021-01-13T15:27:26.105571 #11458] ERROR -- : [ActiveJob] [ActionMailer::DeliveryJob] [62e62cac-9c76-43a6-b1c4-92e03ffb2b32] Error performing ActionMailer::DeliveryJob (Job ID: 62e62cac-9c76-43a6-b1c4-92e03ffb2b32) from Async(mailers) in 1229.17ms: Net::SMTPSyntaxError (501 Syntax: HELO hostname

En la configuración SMTP los únicos valores ingresados son el nombre de host y el puerto (25) dado que el hosting empleado sólo requiere esa información (sin TLS ni autenticación)

También modifiqué config/secrets.yml para definir el puerto como 25.

No obstante, via telnet puedo completar la sesión con tales parámetros.

Endorsements count0
Configuración servidor SMTP Comments 7

Reference: MDC-PROP-2021-01-15921
Version number 2 (of 2) see other versions
Check fingerprint

Fingerprint

The piece of text below is a shortened, hashed representation of this content. It's useful to ensure the content hasn't been tampered with, as a single modification would result in a totally different value.

Value: 7caa224f6b4f0aa6a4de6b008d742e10f00095860b4afa8367b3f7fe1bee1421

Source: {"body":{"es":"<p>Acabó de completar una instalación limpia, sin embargo no me es posible sortear el problema de envío de correos.</p><p>E, [2021-01-13T15:27:26.105571 gid://metadecidim/Decidim::Hashtag/272/11458] ERROR -- : [ActiveJob] [ActionMailer::DeliveryJob] [62e62cac-9c76-43a6-b1c4-92e03ffb2b32] Error performing ActionMailer::DeliveryJob (Job ID: 62e62cac-9c76-43a6-b1c4-92e03ffb2b32) from Async(mailers) in 1229.17ms: Net::SMTPSyntaxError (501 Syntax: HELO hostname</p><p>En la configuración SMTP los únicos valores ingresados son el nombre de host y el puerto (25) dado que el hosting empleado sólo requiere esa información (sin TLS ni autenticación)</p><p>También modifiqué config/secrets.yml para definir el puerto como 25.</p><p>No obstante, via telnet puedo completar la sesión con tales parámetros.</p>"},"title":{"es":"Configuración servidor SMTP"}}

This fingerprint is calculated using a SHA256 hashing algorithm. In order to replicate it yourself, you can use an MD5 calculator online and copy-paste the source data.

Share:

link-intact Share link

Share link:

Please paste this code in your page:

<script src="https://meta.decidim.org/processes/supportforum/f/705/proposals/15921/embed.js"></script>
<noscript><iframe src="https://meta.decidim.org/processes/supportforum/f/705/proposals/15921/embed.html" frameborder="0" scrolling="vertical"></iframe></noscript>

Report inappropriate content

Is this content inappropriate?

Reason

7 comments

Order by:
  • Older
    • Best rated
    • Recent
    • Older
    • Most discussed
Conversation with Oliver Azevedo Barnes
Avatar: Oliver Azevedo Barnes Oliver Azevedo Barnes
13/01/2021 21:41
  • Get link Get link

Hola Daniel, el hostname tiene un "_"? Otro usuario tubo este problema: https://gitter.im/decidim/decidim?at=5f953ddd6c8d484be2a84fac

Es que el protocolo SMTP no lo accepta: http://zonky.org/notes/mblocked-underscores.html

Avatar: Daniel Rodriguez Daniel Rodriguez
13/01/2021 22:35
  • Get link Get link

Pues verás que no, incluso si utilizo 'localhost' se presenta el mismo error.

Avatar: Oliver Azevedo Barnes Oliver Azevedo Barnes
14/01/2021 17:27
  • Get link Get link

Otros sanity checks posibles:

Si estás usando docker-compose, comprobar si hace un override del hostname
Mirar las variables DECIDIMHOST y SMTPDOMAIN
Mirar la configuración en la base de datos: decidimorganizations.host y decidimorganizations.smtp_settings
Avatar: Daniel Rodriguez Daniel Rodriguez
14/01/2021 17:54
  • Get link Get link

No utilizo Docker

Hice la prueba de hardcore smtpdomain con el mismo resultado. Daré una mirada a lo demás que comentas.

Conversation with Ivan Vergés
Avatar: Ivan Vergés Ivan Vergés verified-badge
14/01/2021 11:26
  • Get link Get link

Hola Daniel, entiendo que tu instalacion usa postfix o algo similar en el mismo servidor no?
En ese caso, yo recomendaria usar sendmail como método de envio, configurado a nivel de sistema i dejar sin configurar nada en /system.
Para eso, simplement configura el archivo config/initializers/production.rb con esta linea:

config.action_mailer.delivery_method = :sendmail
.

Avatar: Daniel Rodriguez Daniel Rodriguez
14/01/2021 16:37
  • Get link Get link

Hola Ivan, seguí los pasos que recomiendas pero aún así recibo el mismo resultado

E, [2021-01-14T15:24:25.406674 #13797] ERROR -- : [ActiveJob] [ActionMailer::DeliveryJob] [2fc63683-698d-4a20-b070-03280c6fdd25] Error performing ActionMailer::DeliveryJob (Job ID: 2fc63683-698d-4a20-b070-03280c6fdd25) from Async(mailers) in 1022.94ms: Net::SMTPSyntaxError (501 Syntax: HELO hostname

Avatar: decimer decimer
22/03/2022 16:35
  • Get link Get link

Hola Daniel, conseguiste solucionarlo? Estoy teniendo el mismo problema que tu, instalación sin Docker y los únicos datos para servidor smtp es localhost y puerto 25.

Gracias.

Add your comment

Sign in with your account or sign up to add your comment.

Loading comments ...

  • Terms and conditions of use
  • About the community
  • Download Open Data files
  • Metadecidim at Twitter Twitter
  • Metadecidim at Instagram Instagram
  • Metadecidim at YouTube YouTube
  • Metadecidim at GitHub GitHub
Creative Commons License Website made with free software.
Decidim Logo

Confirm

OK Cancel

Please sign in

decidim Sign in with Decidim
Or

Sign up

Forgot your password?