From 098c1eb92d72c30aa9c63b338ca0db8356be186c Mon Sep 17 00:00:00 2001 From: David Rotermund Date: Tue, 16 Jul 2024 16:14:16 +0200 Subject: [PATCH] Update README.md --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 7c9b1c4..0497895 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,17 @@ docker run hello-world mkdir /root/nginx mkdir /root/vaultwarden + +# Mail +# Add root to the /etc/alias file and add the msmtprc file to /etc +apt -y install msmtp msmtp-mta mailutils +vi /etc/msmtprc +chmod 644 /etc/msmtprc +touch /var/log/msmtp.log +chmod 666 /var/log/msmtp.log +# ln -s /usr/bin/msmtp /usr/sbin/sendmail + +# echo "This is a test" | msmtp -v -d davrot@uni-bremen.de ``` # Check the ports with an external computer