snmp-enabled yes snmp-port 161 snmp-community public
This article provides a comprehensive optimized for high-volume sending, along with a detailed breakdown of the critical directives that make it work. What is a "Hot" PowerMTA Configuration? sample powermta configuration file hot
A "hot" config balances speed with safety. Setting max-smtp-out too high can lead to IP blocking, while setting it too low leaves your CPU idle. For warmed-up IPs, start between and adjust based on your bounce rates. 2. Message Bundling ( max-msg-per-connection ) Setting max-smtp-out too high can lead to IP
# ========================================================== # PowerMTA Configuration File - High Performance (Hot) # ========================================================== # 1. Server Basics # ---------------------------------------------------------- http-mgmt-port 8080 http-mgmt-host 0.0.0.0 http-mgmt-password your_strong_password license-key xxxxx-xxxxx-xxxxx-xxxxx hostname ://example.com smtp-source-host 192.0.2.1 ://example.com # Primary IP # 2. IP Address & Traffic Management # ---------------------------------------------------------- # Define your IPs here for virtual MTA usage smtp-source-host 192.0.2.2 ://example.com smtp-source-host 192.0.2.3 ://example.com smtp-source-host 192.0.2.4 ://example.com # Create Virtual MTAs (VMTA) for sending smtp-source-host 192.0.2.2 ://example.com smtp-source-host 192.0.2.3 ://example.com smtp-source-host 192.0.2.4 ://example.com # Group VMTAs for load balancing virtual-mta vmta1 virtual-mta vmta2 virtual-mta vmta3 # 3. Performance & Queue Optimization # ---------------------------------------------------------- max-smtp-out-connections 10000 max-smtp-out-msg-rate 5000/h # Increase memory for heavy load max-queue-memory 512M # Spool directory spool-dir /var/spool/pmta # 4. Delivery Rules (The "Hot" Settings) # ---------------------------------------------------------- # Default behavior max-smtp-out-connections 20 max-smtp-out-msg-rate 100/m max-messages-per-connection 100 # Optimized rules for high-volume receivers (Gmail, Yahoo, etc.) max-smtp-out-connections 50 max-smtp-out-msg-rate 2000/m max-messages-per-connection 200 retry-after 10m max-smtp-out-connections 40 max-smtp-out-msg-rate 1500/m max-messages-per-connection 200 # 5. DKIM Signing (Essential for Deliverability) # ---------------------------------------------------------- domain example.com key-file /etc/pmta/dkim.pem selector default # 6. Logging & Monitoring # ---------------------------------------------------------- log-file /var/log/pmta/pmta.log log-rotate 10 100M # Enable delivery logs for analytics acct-file /var/log/pmta/acct.csv acct-file-rotate 10 100M Use code with caution. Detailed Breakdown of Key Settings 1. Virtual MTAs ( ) vmta-hot-02 ) into a single pool
# --- Global Settings --- # Ensure your license and log paths are correct include /etc/pmta/default.config always-allow-relaying yes process-x-virtual-mta yes # --- Performance & Resource Management --- max-msg-rate 5000/h # Global cap to prevent spikes max-errors-per-connection 10 smtp-listener 0.0.0.0:25 # --- The "Hot" Virtual MTA Settings --- smtp-source-host 1.2.3.4 # Your dedicated IP host-name ://yourdomain.com # Connection Management max-smtp-out 100 # Max parallel connections max-msg-per-connection 50 # Send multiple emails per handshake # Retry Logic for Temporary Failures retry-after 10m max-retry-time 2d # --- ISP Specific Optimization (The Secret Sauce) --- max-smtp-out 20 max-msg-per-connection 100 queue-priority 100 dkim-sign yes max-smtp-out 10 max-msg-rate 500/h Use code with caution. Copied to clipboard Key Elements of a High-Performance Config 1. Connection Concurrency ( max-smtp-out )
The sample utilizes a pool named pool-hot-delivery . By grouping multiple hot IPs ( vmta-hot-01 , vmta-hot-02 ) into a single pool, PowerMTA automatically load-balances out-bound mail across those IPs using a round-robin algorithm. This prevents a single IP from absorbing too much traffic and overheating. 4. Aggressive Retry Windows for Hot Traffic
Sick of Losing at Chess? Get Chess Courses from a Grandmaster! HUGE Discount! Click here!