email-amazon/email-worker/.env.example

43 lines
835 B
Plaintext

# 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