Zoho SMTP (SSL) non invia email dopo l'installazione

Ciao,

Sto usando il metodo di installazione ufficiale, tuttavia ho un problema con la mancata ricezione delle email dopo l’installazione.

Sul mio VPS ho testato

echo Hello world > /tmp/mail.txt
curl -v  smtps://smtppro.zoho.com:465  \
  --mail-from $email \
  --mail-rcpt $(echo $email | cut -d ',' -f 1) \
  --user $email:"$pass" \
  --upload-file /tmp/mail.txt

Ricevo email dal mio VPS usando l’approccio curl, quindi il mio server sta inviando email.

Ecco la configurazione del mio app.yml

  DISCOURSE_SMTP_ADDRESS: smtppro.zoho.com
  DISCOURSE_SMTP_PORT: 465
  DISCOURSE_SMTP_USER_NAME: $username
  DISCOURSE_SMTP_PASSWORD: $pass
  DISCOURSE_SMTP_ENABLE_START_TLS: false           # (optional, default true)
  DISCOURSE_SMTP_ENABLE_SSL: true
  DISCOURSE_SMTP_DOMAIN: domain    # (required by some providers)

Ho persino testato le mie credenziali sugli strumenti di test SMTP e ha funzionato.

Ecco il log per discourse:

tail shared/standalone/log/rails/production.log
Job exception: end of file reached

fail
start
done
start
  Rendered layouts/email_template.html.erb (Duration: 0.1ms | Allocations: 36)
Job exception: end of file reached

fail

Qualche suggerimento?

Grazie,
Azamat

Ok, dopo aver provato discourse-doctor più volte ho scoperto che la password deve essere racchiusa tra “” e ho usato la porta 587 e ha funzionato. Zoho funziona effettivamente con discourse.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.