Powermta Configuration Guide Top

The PowerMTA Configuration Guide: Top Strategies for High-Volume Delivery PowerMTA (Port25) is the industry standard for high-performance email delivery. Unlike standard MTAs (like Postfix or Sendmail), PowerMTA is built specifically for commercial sending, offering granular control over connection handling, throttling, and feedback loops. However, installing the software is only the first step. A default configuration will rarely yield optimal results. This guide covers the top configuration priorities to transform a basic installation into a deliverability powerhouse.

1. The Hierarchy: Understanding the <domain> Directive The heart of PowerMTA lies in the domain directives. This is where you tell the software how to handle specific receivers (like Gmail, Outlook, or Yahoo). The Golden Rule: Do not use a "catch-all" configuration for critical ISPs. You must create specific domain keys for major providers. Top Configuration Snippet: <domain gmail.com> # Delivery Settings max-delivery-rate 500/h # Throttle speed to warm up IP max-messages-per-connection 50 max-connections 10 # Bounce Handling dkim-sign yes dkim-identity @yourdomain.com dkim-selector your_selector dkim-private-key /etc/pmta/dkim.key

# Feedback Loops (FBL) enable-fbl yes

</domain> <domain *> # Default settings for the "Long Tail" (smaller ISPs) max-delivery-rate 1000/h retry-interval 5m bounce-after 5d </domain> powermta configuration guide top

Why this matters:

Throttling: Gmail may block you if you send too fast too soon. The max-delivery-rate acts as a speed limiter. Resource Management: max-connections prevents your server from opening too many simultaneous connections, which can trigger firewall blocks.

2. Authentication Mastery: DKIM, SPF, and DMARC PowerMTA can handle DKIM signing internally, which is often faster than signing at the application level. Best Practice Configuration: Ensure your DNS records (SPF/DKIM/DMARC) are correct, then configure PowerMTA to sign every email automatically. Do not rely solely on your CMS (like WordPress or Mailwizz) to sign the mail; let the MTA handle the heavy lifting. Top Tip: Configure dkim-body-canonization and dkim-header-canonization to simple or relaxed based on your specific needs, but ensure they match the DNS record exactly. A default configuration will rarely yield optimal results

3. VirtualMTAs (vMTAs): The Traffic Shaping Engine One of PowerMTA’s top features is the ability to create VirtualMTAs. This allows you to partition your traffic.

Transactional Traffic: High speed, high priority. Marketing Traffic: Throttled, lower priority to avoid blocking transactional streams.

Top Configuration Snippet: <virtual-mta transactional> smtp-listener 0.0.0.0:25 domain-key transactional, yourdomain.com, /etc/pmta/keys/transactional.pem # Route to a specific IP address on your server smtp-source-host 192.168.1.10 </virtual-mta> <virtual-mta marketing> smtp-listener 0.0.0.0:26 domain-key marketing, yourdomain.com, /etc/pmta/keys/marketing.pem smtp-source-host 192.168.1.20 </virtual-mta> 4. Warm-up Logic: The &#34

Strategic Advantage: If your marketing IP gets blacklisted, your transactional (password resets, invoices) traffic continues flowing uninterrupted on the other vMTA.

4. Warm-up Logic: The "Backoff" Strategy A top-tier configuration must handle "warming up" new IP addresses intelligently. You cannot simply blast millions of emails from a cold IP. The Top Strategy: Use the retry-interval and max-delivery-rate in combination.