Sample Powermta Configuration File Hot Repack [OFFICIAL]

In PowerMTA (PMTA), a "hot" configuration generally refers to high-volume or "aggressive" delivery settings, often used for warming up IPs or sending to high-reputation recipients. This configuration is typically managed within the /etc/pmta/config Sample High-Volume (Hot) Config Review A robust PowerMTA configuration uses

directives to control delivery traffic. Below is a review of standard "hot" parameters: Moving from PowerMTA - KumoMTA

Here’s a solid, in-depth review of what a “sample PowerMTA configuration file” should look like — especially if you’re searching for a “hot” (high-performance, deliverability-focused) setup.

I’ll break down the key sections, explain what each does, and highlight what makes a config hot versus just functional.


Throttling & Delivery Rules

<domain hotmail.com> max-smtp-out 10 max-msg-rate 20/s use-rs yes use-plaintext yes smtp-pipelining yes smtp-starttls required </domain>

<domain gmail.com> max-smtp-out 15 max-msg-rate 30/s use-rs yes smtp-starttls required </domain>

<domain yahoo.com> max-smtp-out 8 max-msg-rate 15/s smtp-starttls required </domain>

Rotate logs daily

log-file-rotate daily

---------------------------------------------------------

smtp-listener 0.0.0.0:25 default-virtual-mta vmta-pool-1 authenticate plain login source smtp-source-inject

3. DKIM Signing on the Fly

The config includes dkim-sign yes. A "hot" config handles authentication internally. Instead of signing the mail in your application code, you hand the raw email to PowerMTA, and it signs it right before delivery. This saves CPU cycles on your application layer. sample powermta configuration file hot

Access control to allow PMTA to read from this directory

<source 127.0.0.1> always-allow-relaying yes Use code with caution. Copied to clipboard Key Directives Explained <pickup-directory [path]>

: Specifies the absolute path where PMTA will look for new message files. virtual-mta : Assigns the mail dropped in this folder to a specific VirtualMTA (IP pool and domain settings) for delivery. scan-interval

: Sets how often (in seconds) PMTA checks the folder for new files. delete-after-read : If set to

, PMTA removes the file from the hot folder once it has been moved into the internal delivery spool. Best Practices for Implementation File Permissions : Ensure the user has read and write permissions for the specified path. Atomic Writes

: Always write files to a temporary directory first and then

them into the hot folder. This prevents PMTA from attempting to read a partially written file. Avoid Disk Bottlenecks

: If sending millions of emails, use a high-performance disk (like an SSD or NVMe) or a RAM-disk to prevent I/O wait times from slowing down the injection. Exclusion from Scanning

: Ensure anti-virus or indexing services do not scan the pickup folder, as they can lock files and cause PMTA to fail. configure VirtualMTAs to work specifically with these pickup directories? Day 8 : Hot Folder Configuration - Priyanka Manikkoth In PowerMTA (PMTA), a "hot" configuration generally refers

Adaptive throttling & backoff

adaptive-throttling yes min-backoff 30s max-backoff 24h backoff-scale-factor 1.5

1. The <domain> Directives

This is the heart of PowerMTA.

3. Feedback Loops (FBL) and Bounces

While not in the config file text above, a truly "hot" configuration requires external setup:

This article provides a comprehensive, high-performance "hot" configuration for PowerMTA (PMTA). When we say a configuration is "hot," we mean it is optimized for high-volume throughput, excellent deliverability, and real-time bounce/FBL handling.

Below is a breakdown of a production-ready config file, followed by an explanation of the critical directives. Sample PowerMTA "Hot" Configuration File

# ########################################################### # 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

The "hot" secret to PowerMTA is not treating every recipient the same. Gmail, Yahoo, and Outlook have vastly different spam filtering thresholds. By splitting them into blocks, you can throttle your speed for sensitive providers while blasting high volumes to more "lenient" ones. 2. DKIM Integration

Notice the dkim-sign yes directive. In the modern email landscape, unsigned mail is often discarded immediately. This config assumes you have your private keys mapped, ensuring every outbound packet is authenticated. 3. Optimized Virtual MTAs (vmta)

By grouping IPs into virtual-mta pools, you can rotate your sending identity. If one IP gets "cold" (low reputation), you can shift traffic to another pool without rewriting your entire application logic. 4. Advanced Bounce Handling Throttling & Delivery Rules &lt;domain hotmail

The is essential for high-volume senders. It categorizes bounces into "Hard," "Soft," "Spam Related," etc. This allows your backend database to instantly unsubscribe users who trigger a hard bounce, protecting your IP reputation from further damage. 5. SMTP Source Hosting

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

Warm-up: Even with this "hot" config, start your max-msg-rate low (e.g., 50/hour) and double it every 48 hours if your bounce rates remain under 1%.

Monitoring: Use the http-mgmt-port (8080 in the sample) to watch your queues in real-time. If you see a "backoff" status, lower your max-smtp-out immediately.

Disk I/O: For truly high-performance setups, ensure your PowerMTA spool directory is on an NVMe SSD to prevent bottlenecks during massive bursts.

In PowerMTA (PMTA), "hot folders" (often referred to as pickup directories

) allow you to inject emails for delivery by simply dropping message files into a specific folder on the server.

This configuration is ideal for high-volume automated systems that need to bypass the overhead of a full SMTP session. Sample Configuration for a Pickup Directory (Hot Folder) To enable a pickup directory, you must define a block in your main file (typically located at /etc/pmta/config on Linux). Time4Servers

# Define the pickup directory (hot folder) # The VirtualMTA to use for mail from this folder virtual-mta my-sending-vmta

# Frequency in seconds to scan the folder
scan-interval 5
# Delete files after they are successfully read
delete-after-read yes