http-mgmt-port 8080 http-access 1.2.3.4 monitor # Allow only your admin IP to view logs Use code with caution. Copied to clipboard Step-by-Step Implementation Guide Preparation : Ensure you have a static IP address domain name with the hostname (e.g., mail.yourdomain.com ) set in your server's settings. Install PowerMTA : Upload your RPM or DEB package and install it using rpm -ivh PowerMTA.rpm Place License File : Copy your license.dat /etc/pmta/ Edit the Config YOUR-LICENSE-KEY-HERE with your actual key. smtp-source-ip to your server's public IP. Ensure the matches your domain's rDNS (Reverse DNS) record to avoid being flagged as spam. Set Up DKIM
# ===================================================================== # POWERMTA GLOBAL CONFIGURATION FOR HIGH-VOLUME DEPLOYMENT # ===================================================================== # --- Server Paths and Environment --- log-file /var/log/pmta/pmta.log status-file /var/log/pmta/status.dat accounting-file /var/log/pmta/acct.csv # --- Administrative Web Interface --- http-mgmt-port 8080 http-access 127.0.0.1 admin http-access 192.168.1.0/24 admin # --- Inbound SMTP Settings (Inbound Traffic from your App) --- smtp-listener 127.0.0.1:2525 smtp-listener 192.168.1.50:25 always-allow-relaying yes process-x-envid yes process-x-job yes always-allow-relaying yes smtp-max-bmt-size 25M # ===================================================================== # VIRTUAL MTA AND IP ROUTING DEFINITIONS # ===================================================================== smtp-source-ip 192.168.1.101 host-name ://yourdomain.com smtp-source-ip 192.168.1.102 host-name ://yourdomain.com # Load-balanced pool for marketing traffic virtual-mta mta_ip1 virtual-mta mta_ip2 # ===================================================================== # GLOBAL DELIVERY DEFAULTS # ===================================================================== max-smtp-out 20 # Max concurrent connections per domain max-msg-per-connection 100 # Max messages sent per single connection bounce-after 48h # Retry temporary failures for 48 hours retry-max-interval 1h # Maximum delay between retries backoff-to-normal-after 30m # Time to wait before resuming normal rates after backoff # ===================================================================== # OPTIMIZED TRAFFIC SHAPING FOR "HOT" MAILBOX PROVIDERS # ===================================================================== # --- GMAIL / GOOGLE WORKSPACE --- max-smtp-out 10 # Gmail strictly limits concurrent connections max-msg-per-connection 50 # Limit messages per connection to avoid throttling max-msg-per-hour 5000 # Adjust based on your current IP warming stage dkim-sign yes use-starttls yes require-starttls no # --- YAHOO / AOL (OATH NETWORKS) --- max-smtp-out 12 max-msg-per-connection 40 max-msg-per-hour 4000 backoff-retry-after 15m # Aggressive backoff retry for Yahoo blocks dkim-sign yes use-starttls yes # --- OUTLOOK / MICROSOFT (HOTMAIL, LIVE, MSN) --- max-smtp-out 8 # Microsoft is highly sensitive to connection spikes max-msg-per-connection 30 max-msg-per-hour 3000 use-starttls yes require-starttls no # ===================================================================== # SECURITY AND DMARC/DKIM SETTINGS # ===================================================================== # Global DKIM Key Configuration domain yourdomain.com selector pmta key-file /etc/pmta/://yourdomain.com.pem # TLS Protocols and Ciphers for Secure Transport smtp-ssl-protocols TLSv1.2, TLSv1.3 smtp-ssl-ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256 Use code with caution. In-Depth Breakdown of Critical Directives 1. Traffic Shaping ( Containers) sample powermta configuration file hot
<domain hotmail.com, outlook.com, live.com> max-msg-rate 50/h max-connect-rate 4/m retry-after 2h use-starttls yes max-smtp-out 5 http-mgmt-port 8080 http-access 1
Knowing these details will allow for specific recommendations on connection limits and domain throttling rules. Share public link smtp-source-ip to your server's public IP