Msmtp
is an SMTP client.
In the default mode, it transmits a mail to an SMTP server which takes care of further delivery.
Links#
- Docs: https://marlam.de/msmtp/msmtp.html
- Issues: https://github.com/marlam/msmtp/issues
- Source: https://github.com/marlam/msmtp
- License: GPL-3.0-only
Usage#
read -r DN < conf/hostname/files/DOMAIN_NAME
mkdir -p conf/msmtp/files
HOST=<host.mail.tld> PORT=578 DOMAIN=${DN} USER=<account> ${MIO_ROOT}/msmtp/bin/mio-msmtp-rc | tee conf/msmtp/files/msmtprc
echo ${DN} > conf/msmtp/files/mailname
echo passphrase | mio-pass insert -m instances/mail/default.pw
Config Files#
| Name | Default | Type | Description |
|---|---|---|---|
Use#
TODO
- doas support to pull mail functionality instead of group, (hides / credentials, limits scope by doas rules)
- auto encryption support
- mailname from domain
