This commit is contained in:
2026-01-25 13:20:58 -06:00
parent 3884abc695
commit 2d9aba7e04
37 changed files with 0 additions and 0 deletions

42
email-worker/.env.example Normal file
View File

@@ -0,0 +1,42 @@
# AWS Credentials
AWS_REGION=us-east-2
AWS_ACCESS_KEY_ID=your_access_key_here
AWS_SECRET_ACCESS_KEY=your_secret_key_here
# Domains Configuration
DOMAINS=example.com,another.com
# Alternative: Use domains file
# DOMAINS_FILE=/etc/email-worker/domains.txt
# Worker Settings
WORKER_THREADS=10
POLL_INTERVAL=20
MAX_MESSAGES=10
VISIBILITY_TIMEOUT=300
# SMTP Configuration
SMTP_HOST=localhost
SMTP_PORT=25
SMTP_USE_TLS=false
SMTP_USER=
SMTP_PASS=
SMTP_POOL_SIZE=5
INTERNAL_SMTP_PORT=2525
# LMTP Configuration (Optional)
LMTP_ENABLED=false
LMTP_HOST=localhost
LMTP_PORT=24
# DynamoDB Tables
DYNAMODB_RULES_TABLE=email-rules
DYNAMODB_MESSAGES_TABLE=ses-outbound-messages
DYNAMODB_BLOCKED_TABLE=email-blocked-senders
# Bounce Handling
BOUNCE_LOOKUP_RETRIES=3
BOUNCE_LOOKUP_DELAY=1.0
# Monitoring Ports
METRICS_PORT=8000
HEALTH_PORT=8080