moved server files to its own directory and update tests
This commit is contained in:
@@ -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
|
||||
# ========================================
|
||||
|
||||
@@ -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;"`
|
||||
|
||||
Reference in New Issue
Block a user