Skip to content

SMTP does not work... #112

@marcogaio

Description

@marcogaio

I'm testing Claper (wondeful!) for a Linux User group here in north east of Italy (Pordenone Linux User Group, PNLug).

I was able to run the docker container, fix some issue putting it behind a nginx reverse proxy (if needed, i can provide feedback on that, because i've not found info on documents) but still Claper does not send email.

Docker VM is part of a little virtualization setup, where there's also an SMTP server/relay that send email for all the services. I've setup .env as:

SMTP_RELAY=10.21.13.180
SMTP_AUTH=never
SMTP_PORT=25
SMTP_TLS=never
SMTP_SSL=false

But email does not get sent; even, i've sniffed on network interfaces, end there's even NO SMTP traffic, so Claper seems never tries to send email...

Network and SMTP server reachability seems fine:

root@vdockerpnlug1:~# docker ps
CONTAINER ID   IMAGE                            COMMAND                  CREATED        STATUS                  PORTS                                       NAMES
ff6a3668b491   ghcr.io/claperco/claper:latest   "sh -c '/app/bin/cla…"   20 hours ago   Up 20 hours (healthy)   0.0.0.0:4000->4000/tcp, :::4000->4000/tcp   claper-app-1
dddc4a72e4f4   postgres:15                      "docker-entrypoint.s…"   20 hours ago   Up 20 hours (healthy)   0.0.0.0:5432->5432/tcp, :::5432->5432/tcp   claper-db-1
root@vdockerpnlug1:~# docker exec -it  ff6a3668b491 bash
ff6a3668b491:/app# nc 10.21.13.180 25
220 mail.artemis.pnlug.it ESMTP Exim 4.94.2 Mon, 14 Oct 2024 14:17:05 +0200
help
214-Commands supported:
214 AUTH STARTTLS HELO EHLO MAIL RCPT DATA BDAT NOOP QUIT RSET HELP
quit
221 mail.artemis.pnlug.it closing connection

What i'm doing wrong?! Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions