Update README.md
This commit is contained in:
parent
2c188126f0
commit
0dd11b536d
1 changed files with 4 additions and 2 deletions
|
@ -36,9 +36,13 @@ ufw route allow out on docker0
|
||||||
docker run hello-world
|
docker run hello-world
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
# Add root to the /etc/aliases file and add the msmtprc file to /etc
|
# Add root to the /etc/aliases file and add the msmtprc file to /etc
|
||||||
apt -y install msmtp msmtp-mta mailutils
|
apt -y install msmtp msmtp-mta mailutils
|
||||||
|
hostname forgejo.neuro.uni-bremen.de
|
||||||
|
cat /etc/hostname
|
||||||
vi /etc/msmtprc
|
vi /etc/msmtprc
|
||||||
chmod 644 /etc/msmtprc
|
chmod 644 /etc/msmtprc
|
||||||
touch /var/log/msmtp.log
|
touch /var/log/msmtp.log
|
||||||
|
@ -46,8 +50,6 @@ chmod 666 /var/log/msmtp.log
|
||||||
# ln -s /usr/bin/msmtp /usr/sbin/sendmail
|
# ln -s /usr/bin/msmtp /usr/sbin/sendmail
|
||||||
|
|
||||||
# echo "Test message" | mail -s "Test subject" root
|
# echo "Test message" | mail -s "Test subject" root
|
||||||
|
|
||||||
Note: MAIL BROKEN!!!!
|
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue