smtprelay
A Helm chart for Kubernetes
About this chart
SMTP relay
SMTP relay - SMTP relay
TL;DR;
$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm search repo appscode/smtprelay --version=v2026.11.30
$ helm upgrade -i smtprelay appscode/smtprelay -n ace --create-namespace --version=v2026.11.30
Introduction
This chart deploys a SMTP relay server on a Kubernetes cluster using the Helm package manager.
Prerequisites
- Kubernetes 1.29+
Installing the Chart
To install/upgrade the chart with the release name smtprelay:
$ helm upgrade -i smtprelay appscode/smtprelay -n ace --create-namespace --version=v2026.11.30
The command deploys a SMTP relay server on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall the smtprelay:
$ helm uninstall smtprelay -n ace
The command removes all the Kubernetes components associated with the chart and deletes the release.
Configuration
The following table lists the configurable parameters of the smtprelay chart and their default values.
| Parameter | Description | Default |
|---|---|---|
| replicaCount | 1 | |
| registryFQDN | Docker registry fqdn used to pull app related images. Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} | ghcr.io |
| image.registry | Docker registry used to pull app container image | appscode |
| image.repository | App container image | smtprelay |
| image.tag | Overrides the image tag whose default is the chart appVersion. | "" |
| image.pullPolicy | IfNotPresent | |
| imagePullSecrets | [] | |
| nameOverride | "" | |
| fullnameOverride | "" | |
| serviceAccount.name | "" | |
| podAnnotations | {} | |
| podSecurityContext | {} | |
| securityContext | Security options this container should run with | {"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"runAsUser":65534,"seccompProfile":{"type":"RuntimeDefault"}} |
| controller.kind | kind: Deployment | DaemonSet |
| hostPort.enabled | true | |
| service.type | ClusterIP | |
| service.port | 8025 | |
| ingress.enabled | false | |
| ingress.className | "" | |
| ingress.annotations | {} | |
| ingress.hosts | kubernetes.io/ingress.class: nginx kubernetes.io/tls-acme: "true" | [{"host":"chart-example.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}] |
| ingress.tls | [] | |
| gateway.annotations | {} | |
| gateway.enabled | false | |
| gateway.tls.enabled | true | |
| gateway.tls.secret.name | "ace-cert" | |
| gateway.hosts | [] | |
| resources | {} | |
| autoscaling.enabled | false | |
| autoscaling.minReplicas |
Deploy smtprelay with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has smtprelay on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartsmtprelay is pinned at v2026.11.30 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply