> For the complete documentation index, see [llms.txt](https://docs.human-connection.org/human-connection/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.human-connection.org/human-connection/deployment/human-connection/mailserver.md).

# Mailserver

You can deploy a fake smtp server which captures all send mails and displays them in a web interface. The [sample configuration](https://github.com/Human-Connection/Human-Connection/tree/eb93127add101c5cfed4ff90d1f3aca3a2d667ac/deployment/human-connection/templates/configmap.template.yml) is assuming such a dummy server in the `SMTP_HOST` configuration and points to a cluster-internal SMTP server.

To deploy the SMTP server just uncomment the relevant code in the [ingress server configuration](https://github.com/Human-Connection/Human-Connection/tree/eb93127add101c5cfed4ff90d1f3aca3a2d667ac/deployment/https/templates/ingress.template.yaml) and run the following:

```bash
# in folder deployment/human-connection
kubectl apply -f mailserver/
```

You might need to refresh the TLS secret to enable HTTPS on the publicly available web interface.
