PyMTA initial upload
This commit is contained in:
25
config.py
Normal file
25
config.py
Normal file
@@ -0,0 +1,25 @@
|
||||
"""
|
||||
Configuration settings for the SMTP server.
|
||||
"""
|
||||
|
||||
# Server settings
|
||||
SMTP_PORT = 4025
|
||||
SMTP_TLS_PORT = 40587
|
||||
HOSTNAME = 'localhost'
|
||||
|
||||
# Database settings
|
||||
DATABASE_URL = 'sqlite:///smtp_server.db'
|
||||
|
||||
# Logging settings
|
||||
LOG_LEVEL = 'INFO'
|
||||
|
||||
# Email relay settings
|
||||
RELAY_TIMEOUT = 10
|
||||
|
||||
# TLS settings
|
||||
TLS_CERT_FILE = 'server.crt'
|
||||
TLS_KEY_FILE = 'server.key'
|
||||
|
||||
# DKIM settings
|
||||
DKIM_SELECTOR = 'default'
|
||||
DKIM_KEY_SIZE = 2048
|
||||
Reference in New Issue
Block a user