La mail dell'utente non funziona, il preview-digest è ok?

Non sono sicuro da dove iniziare.

Ho notato che i nuovi utenti non possono più registrarsi. E viene inviata una mail di test, ma non arriva?
D’altra parte, la mail di anteprima del digest funziona correttamente? Quindi significa che la mia connessione email è funzionante?

Started POST "/admin/email/test" for 127.0.0.1 at 2020-04-13 18:33:01 +0000
Processing by Admin::EmailController#test as */*
  Parameters: {"email_address"=>"sabrina@xxxxxx"}
  Rendering layouts/email_template.html.erb
  Rendered layouts/email_template.html.erb (Duration: 1.5ms | Allocations: 327)
Delivered mail 6f8d0dd5-d824-4811-856e-bf2fa1d36fa4@ariel.xxxxx (249.5ms)
Completed 200 OK in 369ms (Views: 0.3ms | ActiveRecord: 0.0ms | Allocations: 26070)
Started GET "/admin/email/preview-digest.json?last_seen_at=2020-04-06&username=brononius" for 127.0.0.1 at 2020-04-13 18:34:51 +0000
Processing by Admin::EmailController#preview_digest as JSON
  Parameters: {"last_seen_at"=>"2020-04-06", "username"=>"brononius"}
  Rendering user_notifications/digest.html.erb within layouts/email_template
  Rendered user_notifications/digest.html.erb within layouts/email_template (Duration: 61.9ms | Allocations: 10595)
  Rendering user_notifications/digest.text.erb
  Rendered user_notifications/digest.text.erb (Duration: 41.3ms | Allocations: 8241)
Completed 200 OK in 329ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 104975)


Started GET "/admin/email.json" for 127.0.0.1 at 2020-04-13 18:35:02 +0000
Processing by Admin::EmailController#index as JSON
Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 1033)

Controlla i log del tuo servizio di posta elettronica.

Purtroppo questo è il mio provider internet (telenet BE). E non ho la minima idea di dove poter controllare questi log.

Allora dovrai contattare Telenet BE o scegliere un altro provider.

Dopo aver ricostruito molte volte, resettato l’account di posta e con il provider di posta (internet) non disposto ad aiutare nel debug, ho trovato un ‘comando non riconosciuto’?
Esiste un posto dove posso trovare più informazioni su questo (escluso il mio provider di posta)?

> DISCOURSE DOCTOR wo apr 15 17:37:24 CEST 2020
OS: Linux ariel 5.3.0-46-generic #38-Ubuntu SMP Fri Mar 27 17:37:05 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
> 
> Found containers/app.yml
> 
> ==================== YML SETTINGS ====================
DISCOURSE_HOSTNAME=ariel.oniria.be
SMTP_ADDRESS=uit.telenet.be
DEVELOPER_EMAILS=REDACTED 
SMTP_PASSWORD=REDACTED 
SMTP_PORT=587
SMTP_USER_NAME=oniria_discourse@telenet.be
LETSENCRYPT_ACCOUNT_EMAIL=REDACTED 
> 
> ==================== DOCKER INFO ====================
> DOCKER VERSION: Docker version 18.04.0-ce, build 3d479c0> 
> 
> DOCKER PROCESSES (docker ps -a)
> 
> CONTAINER ID        IMAGE                 COMMAND             CREATED             STATUS              PORTS                                      NAMES
12036a91a16f        local_discourse/app   "/sbin/boot"        10 minutes ago      Up 10 minutes       0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp   app
> 
> 
> Discourse container app is running
> 
> 
> ==================== PLUGINS ====================
          - git clone https://github.com/discourse/docker_manager.git
> 
> No non-official plugins detected.
> See https://github.com/discourse/discourse/blob/master/lib/plugin/metadata.rb for the official list.
> ========================================
>Discourse version at ariel.oniria.be: Discourse 2.5.0.beta2 
Discourse version at localhost: Discourse 2.5.0.beta2 
> 
> ==================== MAIL TEST ====================
For a robust test, get an address from http://www.mail-tester.com/
Sending mail to REDACTED  . . 
Testing sending to ben@oniria.be using uit.telenet.be:587.
======================================== ERROR ========================================
                                    UNEXPECTED ERROR
> 
> 500 5.5.1 command unrecognized
> 
> ====================================== SOLUTION =======================================
This is not a common error. No recommended solution exists!
> 
> Please report the exact error message above to https://meta.discourse.org/
(And a solution, if you find one!)
> =======================================================================================
> 
> ==================== DONE! ====================

No. Sembra che siano loro a cui rivolgersi.

Un’ipotesi, e non è che un’ipotesi, è che le tue credenziali siano errate e loro fingano che, se non ti autentifichi, invino un “comando non riconosciuto”. Un’altra ipotesi è che abbiano un server SMTP molto non standard.

Ho appena fatto funzionare tutto, utilizzando un altro provider di posta.

È un po’ strano che non funzioni più tramite Telenet. Si tratta di un provider internet in Belgio con diversi milioni di clienti. Si potrebbe pensare che utilizzino le impostazioni SMTP corrette.

E una cosa che non riesco a capire è perché la mail di riepilogo funzionasse, mentre quella di prova no.