moved server files to its own directory and update tests

This commit is contained in:
nahakubuilde
2025-05-30 07:12:42 +01:00
parent a01aa22a4b
commit 98ecce507e
11 changed files with 11 additions and 6 deletions

View File

@@ -49,9 +49,6 @@ python cli_tools.py add-ip 10.0.0.50 mycompany.org # Internal server
python cli_tools.py add-ip 203.0.113.10 example.com # External trusted IP
```
# Add entire local network (if your server supports CIDR - may need modification)
`python cli_tools.py add-ip 192.168.1.0 example.com` # Network range
# ========================================
# DKIM KEY MANAGEMENT
# ========================================

View File

@@ -1,3 +1,11 @@
## setup domain and account for sending email:
```bash
python email-server/cli_tools.py add-domain example.com
python email-server/cli_tools.py add-user test@example.com testpass123 example.com
python email-server/cli_tools.py add-ip 127.0.0.1 example.com
python email-server/cli_tools.py add-ip 10.100.111.1 example.com
python email-server/cli_tools.py generate-dkim example.com
```
## Check db logs
`sqlite3 smtp_server.db "SELECT message_id, rcpt_tos, status FROM email_logs;"`