exim-docker/start.sh

10 lines
295 B
Bash
Raw Normal View History

2024-12-21 12:46:39 +01:00
#!/bin/sh
2024-12-10 13:27:12 +01:00
openssl genpkey -algorithm RSA -out tls.key && \
openssl req -new -key tls.key -out tls.csr -subj "/C=DE/CN=$HOSTNAME" && \
openssl x509 -req -in tls.csr -signkey tls.key -out tls.crt -days 3650 && \
chown exim tls.key tls.crt && \
m4 exim.conf.m4 > exim.conf && \
exim -bd -q15m -v
2024-12-10 13:27:12 +01:00