Configuración de envío de correo electrónico de QQ Mail, el correo llega normalmente, pero Discourse da error y envía repetidamente

Tutorial de instalación que seguí inicialmente:

Mi configuración:

  DISCOURSE_DEVELOPER_EMAILS: 'xxx@gmail.com'

  ## TODO: Configure the mail server
  ##       (used for validation of new accounts, notifications, digests, etc.)
  ## required: hostname of the SMTP mail server used to send mail
  DISCOURSE_SMTP_ADDRESS: smtp.qq.com
  ## uncomment to set the port to something other than the default (25)
  DISCOURSE_SMTP_PORT: 587
  ## USER_NAME / PASSWORD required if the SMTP provider needs authentication
  ## WARNING: a '#' in the SMTP password can be misinterpreted; ensure it's inside string quotes, e.g.:
  ##   DISCOURSE_SMTP_PASSWORD: "#pass#ord"
  DISCOURSE_SMTP_USER_NAME: xxx@qq.com
  DISCOURSE_SMTP_PASSWORD: "xxx"
  ## uncomment to enable implicit TLS at connection time, probably needed for using port 465
  #DISCOURSE_SMTP_FORCE_TLS: true
  ## uncomment to set the HELO/EHLO domain, only set if required by provider
  #DISCOURSE_SMTP_DOMAIN: discourse.example.com
  ## the address from which notifications are sent
  DISCOURSE_NOTIFICATION_EMAIL: xxx@qq.com
  ## uncomment to change server certificate verification
  #DISCOURSE_SMTP_OPENSSL_VERIFY_MODE: peer # peer|none
  ## uncomment to override the authentication method
  DISCOURSE_SMTP_AUTHENTICATION: login # plain|login|cram_md5

Situación 1:

Al intentar registrar un usuario, Discourse envía correos repetidamente.


Tuve que terminar manualmente las tareas de reintento en sidekiq.

Situación 2:

Intenté usar el correo de prueba interno.
Aparece un error después de hacer clic en enviar.
Sin embargo, cuando abro el buzón de correo, el correo llega con éxito.

Si alguien puede ayudarme a resolver este problema, seguiré usando el correo QQ; de lo contrario, tendré que intentar cambiar de proveedor de correo.

¿Hay errores en yourforum.com/logs?

Tu problema me recuerda a 我搭建了discourse,激活了账户邮箱,为什么还是每隔一会儿不断发送激活账户信息的邮件??怎么配置解决这个bug - #23 by supermathie y Duplicate registration email issue

1 me gusta

Gracias por tu respuesta. Los dos ejemplos que proporcionaste son casi idénticos a mi situación. Revisé el contenido relevante cuidadosamente, pero todavía no entiendo cómo resolverlo.

Los registros (logs) ciertamente tienen errores.


Hola, disculpa por eso. Estoy trabajando para solucionar esto y proporcionar mensajes de error reales. Responderé aquí cuando se fusione.

1 me gusta