https://github.com/ageborn-dev/postfix-secured
This script `postfix-secured.sh` configures the Postfix SMTP server on a Plesk server with best security practices.
https://github.com/ageborn-dev/postfix-secured
Last synced: about 1 year ago
JSON representation
This script `postfix-secured.sh` configures the Postfix SMTP server on a Plesk server with best security practices.
- Host: GitHub
- URL: https://github.com/ageborn-dev/postfix-secured
- Owner: ageborn-dev
- License: gpl-3.0
- Created: 2023-05-31T11:48:10.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-31T11:52:31.000Z (about 3 years ago)
- Last Synced: 2025-01-26T06:13:23.378Z (over 1 year ago)
- Language: Shell
- Size: 17.6 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# postfix-secured
# :mailbox: Postfix Configuration Script
This script `postfix-secured.sh` configures the Postfix SMTP server on a Plesk server with best security practices.
---
## :rocket: Usage
1. **Download the script:**
```bash
wget https://github.com/GeorgeChatzitaskos/postfix-secured.git
```
2. **Make the script executable:**
```bash
chmod +x postfix-secured.sh
```
3. **Run the script as root:**
```bash
sudo ./postfix-secured.sh
```
---
## :bulb: What does this script do?
This script automatically retrieves the public IP of the server, checks for the existence of SSL certificates, and ensures that only necessary changes to the Postfix configuration are made. A backup of the original configuration is created before any changes are applied.
---
## :warning: Disclaimer
Always test scripts in a non-production environment first. Monitor your server's performance and error logs after making changes. Adjust as necessary based on your specific circumstances.