# ########################################################### # PowerMTA High-Performance Configuration (The "Hot" Setup) # ########################################################### # --- 1. IP and Networking --- # Define the IP addresses you will use for sending smtp-source-host 1.2.3.4 ://yourdomain.com smtp-source-host 1.2.3.5 ://yourdomain.com # --- 2. Postmaster and Logging --- postmaster postmaster@yourdomain.com log-errors yes log-transfers yes log-commands no record-header-names X-Job,To,Message-ID # --- 3. Bounce and FBL Processing (The "Hot" Part) --- enabled yes include-with-category-codes yes # Global bounce expiration replace-unnamed-bounce-handler yes type delayed max-delay 4d # --- 4. Virtual MTAs (IP Pools) --- smtp-source-host 1.2.3.4 ://yourdomain.com host-name ://yourdomain.com smtp-source-host 1.2.3.5 ://yourdomain.com host-name ://yourdomain.com # --- 5. Domain Directives (Deliverability Tuning) --- # Default settings for all domains max-smtp-out 20 # Max simultaneous connections max-msg-rate 500/h # Warm-up rate (increase as reputation grows) retry-after 30m # How long to wait before retrying a soft bounce bounce-after 4d # Give up after 4 days dkim-sign yes dkim-algorithm rsa-sha256 # Specific Tuning for Gmail (The "Golden" Settings) max-smtp-out 100 max-msg-per-connection 50 smtp-greeting-timeout 5m idle-timeout 1m # Specific Tuning for Yahoo/AOL max-smtp-out 40 max-msg-per-connection 20 max-msg-rate 1000/h # --- 6. Security and Authentication --- http-mgmt-port 8080 http-access 127.0.0.1 monitor http-access 192.168.1.100 admin # Your Management IP always-allow-relaying yes process-x-job yes log-connections no log-commands no smtp-service yes Use code with caution. Why This Configuration is "Hot" 1. Granular Domain Directives
Below is a breakdown of a production-ready config file, followed by an explanation of the critical directives. Sample PowerMTA "Hot" Configuration File sample powermta configuration file hot
By explicitly defining smtp-source-host , you ensure that PowerMTA binds to the correct local IP. This is vital for multi-IP servers to ensure that the Reverse DNS (rDNS) always matches the IP address being used. Best Practices for Deployment Bounce and FBL Processing (The "Hot" Part) ---