new node.js impl., removed old stuff
This commit is contained in:
38
email-worker-nodejs/.env.example
Normal file
38
email-worker-nodejs/.env.example
Normal file
@@ -0,0 +1,38 @@
|
||||
# AWS credentials (or use IAM role / instance profile)
|
||||
AWS_REGION=us-east-2
|
||||
# AWS_ACCESS_KEY_ID=
|
||||
# AWS_SECRET_ACCESS_KEY=
|
||||
|
||||
# Domains: comma-separated list OR file path
|
||||
# DOMAINS=andreasknuth.de,bizmatch.net
|
||||
DOMAINS_FILE=/etc/email-worker/domains.txt
|
||||
|
||||
# SMTP (Docker Mail Server)
|
||||
SMTP_HOST=localhost
|
||||
SMTP_PORT=25
|
||||
SMTP_USE_TLS=false
|
||||
SMTP_USER=
|
||||
SMTP_PASS=
|
||||
SMTP_POOL_SIZE=5
|
||||
|
||||
# Internal SMTP port (bypass transport_maps)
|
||||
INTERNAL_SMTP_PORT=25
|
||||
|
||||
# Worker settings
|
||||
WORKER_THREADS=10
|
||||
POLL_INTERVAL=20
|
||||
MAX_MESSAGES=10
|
||||
VISIBILITY_TIMEOUT=300
|
||||
|
||||
# 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
|
||||
METRICS_PORT=8000
|
||||
HEALTH_PORT=8080
|
||||
Reference in New Issue
Block a user