diff --git a/content/blog/email-debian.md b/content/blog/email-debian.md index 3eaac92..2d76f66 100644 --- a/content/blog/email-debian.md +++ b/content/blog/email-debian.md @@ -9,7 +9,7 @@ Email offers a simple and reliable method for machine-user communication. [msmtp ## install -- `apt install msmtp msmtp-mta` +- `apt install msmtp msmtp-mta bsd-mailx` ## configure @@ -36,6 +36,15 @@ password SECRET account default: exampleaccount ``` +For allowing mail to bve send with standard `mail` command you need to append + +`set mta=/usr/bin/msmtp` + +to + +`/etc/mail.rc` + ## more details - https://wiki.debian.org/msmtp - https://marlam.de/msmtp/ +- https://unix.stackexchange.com/a/643516