From 8ee287fa23b3ec816ffbeeb9dc21d1ce852d4520 Mon Sep 17 00:00:00 2001 From: yova Date: Mon, 6 Mar 2023 22:36:28 +0100 Subject: [PATCH] add notion to bsd-mailx --- content/blog/email-debian.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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