Configurazione dell'invio di email con QQ Mail, le email arrivano correttamente, ma Discourse segnala un errore e invia duplicati

Il tutorial di installazione che ho seguito inizialmente:

Le mie impostazioni:

  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

Scenario 1:

Quando provo la registrazione di un utente, Discourse continua a inviare email ripetutamente.


Devo terminare manualmente le attività di ripetizione in sidekiq.

Scenario 2:

Provo a utilizzare l’email di test interna.
Dopo aver cliccato su Invia, viene visualizzato un errore.
Tuttavia, quando apro la casella di posta, vedo che l’email è arrivata con successo.

Se qualcuno può aiutarmi a risolvere questo problema, continuerò a usare la casella di posta QQ, altrimenti dovrò provare a cambiarla.

Ci sono errori in yourforum.com/logs?

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

1 Mi Piace

Grazie per la risposta. I due esempi che hai fornito sono quasi identici al mio caso, ho esaminato attentamente i contenuti correlati, ma non riesco ancora a capire come risolverlo.

I log presentano effettivamente errori.


Ciao, scusate per questo. Sto lavorando per risolvere questo problema e fornire messaggi di errore effettivi. Risponderò qui quando sarà unito.

1 Mi Piace