| 1 |
# Mountaineer msmtp: fail-loud default. |
| 2 |
# |
| 3 |
# msmtp is the outbound-only mail relay (STACK.md). Until the operator |
| 4 |
# points the `default` account at a real SMTP provider, every send fails |
| 5 |
# with a clear error rather than silently dropping mail. |
| 6 |
# |
| 7 |
# Replace this file (or use msmtprc.d if Alpine's msmtp build supports it |
| 8 |
# — TODO-verify) with real account credentials. Secrets should not live in |
| 9 |
# this file directly; reference them via `passwordeval` pointing at a |
| 10 |
# script that reads from age-encrypted storage. |
| 11 |
|
| 12 |
defaults |
| 13 |
auth on |
| 14 |
tls on |
| 15 |
tls_trust_file /etc/ssl/certs/ca-certificates.crt |
| 16 |
logfile /var/log/msmtp.log |
| 17 |
|
| 18 |
account default |
| 19 |
host unconfigured.invalid |
| 20 |
port 587 |
| 21 |
from root@unconfigured.invalid |
| 22 |
user unconfigured |
| 23 |
passwordeval "echo 'msmtp is unconfigured — edit /etc/msmtprc' >&2; exit 1" |
| 24 |
|