blog on email mta

main
yova 2 years ago
parent 62841a37ac
commit ddf7e8495b

@ -0,0 +1,41 @@
---
title: msmtp on debian
description: Enable email sending on debian servers
date: 2022-03-03
---
Email offers a simple and reliable method for machine-user communication. [msmtp](https://marlam.de/msmtp/) is a handy current tool for setting up email-sending capabilities on a linux host.
## install
- `apt install msmtp msmtp-mta`
## configure
- edit `/etc/msmtprc`
- full example https://marlam.de/msmtp/msmtprc.txt
- minimal config:
```
defaults
port 587
tls on
account exampleaccount
host mail.examplehost.tld
from tech@examplehost.tld
auth on
user tech@examplehost.tld
password SECRET
account default: exampleaccount
```
## more details
- https://wiki.debian.org/msmtp
- https://marlam.de/msmtp/
Loading…
Cancel
Save