Powermta Configuration Guide Top
<domain gmail.com vmta="main"> max-smtp-out 20 max-msg-rate 8/s max-msg-per-connection 50 use-starttls always initial-pts 60 </domain>
<domain * vmta="main"> max-smtp-out 100 max-msg-rate 100/s max-msg-per-connection 100 use-starttls if-supported initial-pts 30 </domain>
PowerMTA is a race car – powerful but unforgiving. Start slow:
Use pmta summarize --acct-file /var/log/pmta/acct.csv --from 2025-01-01 to generate daily delivery reports. Monitor pmta show stats for deferrals – those are your early warning.
Now go deliver.
Configuring PowerMTA (PMTA) effectively requires moving beyond a simple "install and send" mentality to a structured environment optimized for deliverability and scalability 1. Environment Prerequisites
Before touching the configuration file, ensure your infrastructure is ready: Server Specs
: A VPS or dedicated server with at least 2GB of RAM (8GB recommended for high volume). Operating System : Current guides recommend Ubuntu 20.04+ or CentOS 8+.
: A fixed IP address is critical for building a stable sender reputation. Port Access powermta configuration guide top
: Port 25 must be open for server-to-server relay, and port 587 is recommended for secure email submission. 2. Core Configuration ( /etc/pmta/config
The main configuration file dictates how PMTA behaves globally and for specific domains. Authentication & Basics : Define your license and basic server identity.
license-key "YOUR_LICENSE_KEY" host-name mail.yourdomain.com smtp-listener 0/0:25 Use code with caution. Copied to clipboard Source Directives
: Use these to manage headers and control which sources can relay through your server. DKIM Signing : Implement 2048-bit DKIM keys for authentication. Rate Limiting max-smtp-out max-msg-per-connection to avoid overwhelming ISPs. For example, setting max-msg-per-connection 100 aligns with most ISP acceptance rates. 3. Advanced Deliverability Features Which SMTP Port to Use? Understanding ports 25, 465, & 587
Configuring PowerMTA (PMTA) for optimal delivery involves editing the central configuration file, typically located at /etc/pmta/config . Effective setups prioritize authentication (SPF, DKIM, DMARC), IP rotation reputation management through gradual warm-up schedules. dheeragroup.com Core Configuration Steps Basic Setup : Navigate to and edit the
file. Replace default IP addresses with your server's actual IP and update all domain instances to match your sending domain. Authentication
: Implement mandatory email authentication for inbox delivery. : Verify sender authenticity via DNS. : Sign outgoing emails to prevent tampering. : Set policies on how to handle failed authentication. Reverse DNS (rDNS)
: Ensure your sending IP has a reverse DNS record that matches your sending domain. TLS encryption to support secure delivery using the following directive: <domain gmail
: Keep configurations "lean" by using parameter inheritance. Move common settings to a shared source (e.g., source ) to reduce redundancy. Rate Limiting max-smtp-out to control connections. A setting of
is often sufficient for high-volume delivery while avoiding server strain. Resource Management : Configure PowerMTA to bounce emails
for domains without valid MX records to avoid wasting CPU and bandwidth on invalid addresses. IP Warm-up
: Gradually increase volume over several weeks (e.g., starting with 500–1,000 emails/day) to build a stable sender reputation. PowerMTA: Best Solution for High-Volume Email Delivery
Setting up PowerMTA (PMTA) correctly is vital for high-volume email delivery and maintaining a strong sender reputation. As of 2026, the configuration must prioritize strict authentication (SPF, DKIM, DMARC) and intelligent throttling to meet modern ISP requirements. 1. Core Prerequisites
Server: A dedicated VPS or bare metal server (CentOS 7/8 or Ubuntu 20.04/22.04+) with at least 8GB RAM for high volumes.
Clean IPs: Ensure your IP addresses are not blacklisted and have Reverse DNS (rDNS) properly configured. Use pmta summarize --acct-file /var/log/pmta/acct
Domain: A domain registered through providers like Namecheap or GoDaddy. 2. Installation Basics
Upload Files: Use an FTP client like WinSCP or FileZilla to upload the PowerMTA RPM/DEB package and your license file to /etc/pmta.
Install: Run the installation command (e.g., rpm -ivh PowerMTA-5.X.X.rpm). Services: Start and enable the service: systemctl enable pmta systemctl start pmta Use code with caution. Copied to clipboard 3. Essential Configuration Directives The main configuration file is located at /etc/pmta/config. Authentication Setup Mandatory for inbox delivery in 2026: SPF: v=spf1 a mx ip4:YOUR_IP ~all.
DKIM: Generate a private/public key pair and add the public key as a TXT record in your DNS. DMARC: Start with a "none" policy: v=DMARC1; p=none;. Delivery Throttling (Cold Outreach Example)
Tailor your rates based on the destination domain to avoid reputation issues:
The global section of your configuration applies to all traffic unless overridden by specific VirtualMTA settings. This is where you define your server's identity.
Use patterns to delay retries intelligently.
<smtp-pattern 4xx>
pattern ^4[0-9]2
initial-pts 60
max-pts 3600
</smtp-pattern>