use a durable SMTP server #31

Open
opened 2025-05-29 20:12:23 +00:00 by GhostPLACEHOLDER · 5 comments

all Forgejo instances rely on a temporary solution for sending mail. Figure out a more durable one and install it.

all Forgejo instances rely on a temporary solution for sending mail. Figure out a more durable one and install it. - https://codeberg.org/forgejo/discussions/issues/238

@viceice do you have a suggestion? This was discussed briefly in the chat a few months ago and I don't quite remember if you did.

Ideally that would be an SMTP server that can be deployed in the k8s cluster itself. From past experience it is low maintenance when it only sends mail.

@viceice do you have a suggestion? This was discussed briefly in the chat a few months ago and I don't quite remember if you did. Ideally that would be an SMTP server that can be deployed in the k8s cluster itself. From past experience it is low maintenance when it only sends mail.

https://www.tauceti.blog/posts/run-postfix-in-kubernetes/

It is a very long read. I'll try to find something simpler.

https://www.tauceti.blog/posts/run-postfix-in-kubernetes/ It is a very long read. I'll try to find something simpler.

we need to be careful with sending ip's, dns and other configurations, so we don't get blocked by other mail servers.
I don't run any mailserver inside kubernetes yet.

we need to be careful with sending ip's, dns and other configurations, so we don't get blocked by other mail servers. I don't run any mailserver inside kubernetes yet.

I'm leaning towards not implementing this but asking for help to Codeberg (or another friendly organization) to provide an outgoing SMTP server that they self-host.

@fnetx would it be possible to use the current Codeberg SMTP server for that?

I'm leaning towards not implementing this but asking for help to Codeberg (or another friendly organization) to provide an outgoing SMTP server that they self-host. @fnetx would it be possible to use the current Codeberg SMTP server for that?

From today's discussion with @fnetx, Codeberg will help ❤️

set up our stalwart server to serve mail.forgejo.org (DNS+Stalwart)
generate some mail addresses
    noreply@mail.forgejo.org
    noreply-code@mail.forgejo.org (to separate the code.forgejo.org account)
share the credentials with you

Quite happy about that 😇

From today's discussion with @fnetx, Codeberg will help ❤️ > set up our stalwart server to serve mail.forgejo.org (DNS+Stalwart) > generate some mail addresses > noreply@mail.forgejo.org > noreply-code@mail.forgejo.org (to separate the code.forgejo.org account) > share the credentials with you Quite happy about that 😇
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: infrastructure/k8s-cluster#31
No description provided.