[go: up one dir, main page]

SMTP server authentication should be optional

Dear Dmitry,

I had a lot of trouble getting Comentario to send e-mails. I couldn't understand why it didn't, especially as I had no trace to help me with the logs.

My SMTP server is configured to accept relay messages from the local network without authentication. I therefore specified the following settings in /etc/comentario/secrets.yaml:

smtpServer:
  host: mail.palabritudes.net
  port: 25
  # username:
  # password:

After much trial and error, I decided to create a real e-mail account instead of the alias I'd been using as a sender name, and then fill in the username and password attributes.

smtpServer:
  host: mail.palabritudes.net
  port: 25
  username: comentario@palabritudes.net
  password: xxxxxxxxxxxxxxxx

Mailing finally works!

Could you?

  • If the SMTP configuration seems incomplete and disables mail sending, report this in the Comentario logs? I haven't seen anything like that.
  • Make the provision of a username and password optional?