info about mail server options
This commit is contained in:
parent
2f8c7c4781
commit
0f01c32bab
14
README.md
14
README.md
|
@ -3,6 +3,7 @@
|
||||||
Base Stack installs some basic applications and configs that are common to any server build. Specifically firewald & fail2ban to lock a server down.
|
Base Stack installs some basic applications and configs that are common to any server build. Specifically firewald & fail2ban to lock a server down.
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
```
|
```
|
||||||
cd /usr/local/src/
|
cd /usr/local/src/
|
||||||
git clone https://git.stack-source.com/msb/base-stack.git
|
git clone https://git.stack-source.com/msb/base-stack.git
|
||||||
|
@ -10,6 +11,19 @@ cd base-stack
|
||||||
bash install.sh
|
bash install.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## MTA
|
||||||
|
For an integrated and full featured mail server configuration it's recommended to install vmail-stack:
|
||||||
|
https://git.stack-source.com/msb/vmail-stack
|
||||||
|
If you just want a minimal smtp mail server for getting automated emails (cron, website contact forms, etc.) off the server you can install and configure exim4-daemon-light with these commands:
|
||||||
|
|
||||||
|
```
|
||||||
|
apt -y install exim4-daemon-light mailutils
|
||||||
|
sed -i "s|dc_eximconfig_configtype='local'|dc_eximconfig_configtype='internet'|g" /etc/exim4/update-exim4.conf.conf
|
||||||
|
/usr/sbin/update-exim4.conf
|
||||||
|
systemctl restart exim4
|
||||||
|
echo "user@example.com" > /root/.forward
|
||||||
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
Copyright (c) 2022 Matthew Saunders Brown <matthewsaundersbrown@gmail.com>\
|
Copyright (c) 2022 Matthew Saunders Brown <matthewsaundersbrown@gmail.com>\
|
||||||
GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user