Failed to send email to …: EOF
Hello!
Sending emails doesn't work in my setup. I get this message(s):
2025-02-06 22:20:28.663 DEBUG svc Parsed HTML template "templates/comment-notification.gohtml"
2025-02-06 22:20:28.664 DEBUG svc mailService.send('', 'my-name@gmx.de', 'Comentario: New comment on mydomain.org/Termine%202025/', ...)
2025-02-06 22:20:29.160 DEBUG svc webSocketsService.Send(e1b6920d-5e38-410e-8e23-bec02f230078, 388c016b-0984-4602-ac17-6ff46e6242b8, <nil>, "/Termine%202025/", "new")
2025-02-06 22:20:34.644 DEBUG svc attrStore: evicted 24d0a74f-7a3b-4691-92a8-8f5fd6276a15, reason=3
2025-02-06 22:20:35.239 DEBUG svc attrStore: evicted e1b6920d-5e38-410e-8e23-bec02f230078, reason=3
2025-02-06 22:20:58.559 DEBUG svc domainConfigService: evicted e1b6920d-5e38-410e-8e23-bec02f230078, reason=3
2025-02-06 22:25:28.694 WARNI svc Failed to send email to my-name@gmx.de: EOF
I'm using docker compose. Everything else is working. New comments are poppingup in the list in the admin frontend and they can be confirmed. Just the email isn't being sent.
Here my docker-compose.yml:
services:
db:
image: postgres:17-alpine
environment:
POSTGRES_DB: comentario
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports:
- "5432:5432"
volumes:
- ./postgresql:/var/lib/postgresql/data
app:
image: registry.gitlab.com/comentario/comentario:v3.12.0
command: "--host=0.0.0.0 --port=80 -vv"
environment:
BASE_URL: https://mydomain.org
SECRETS_FILE: "/secrets.yaml"
EMAIL_FROM: "comments@mydomain.org"
ports:
- "8080:80"
volumes:
- ./secrets.yaml:/secrets.yaml:ro
issue