sendmail/docker_test.sh
2020-04-29 10:13:02 +02:00

12 lines
363 B
Bash
Executable File

#!/bin/bash
docker run \
-e M_SERVER_ADDRESS=smtp.autistici.org \
-e M_USER=problemi.ma@anche.no \
-e M_PASSWORD=$(pass personal/ai/otp/mail/sendmail-stakhanov) \
-e M_FROM=blallo@autistici.org \
-e M_TO=blallo@riseup.net \
-e M_SUB="test mail from docker image" \
-e M_TEXT="Test from docker image" \
-ti leophys/sendmail:latest