Sample Powermta Configuration File Hot

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 sample powermta configuration file hot

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

These set the base behavior for all domains.

smtp-service max-message-size 50M max-connections 5000 max-clients 5000 max-data-connections 2000 connection-backlog 500 tcp-nodelay true tcp-keepalive true dns-timeout 30 dns-retries 2

Authentication Setup

<source 0/0> always-allow-relaying yes process-x-virtual-mta yes # Allows the injection source to pick the VMTA Use code with caution. Copied to clipboard Best Practices for High-Volume Delivery

5 Key PowerMTA Configuration Tips for Optimal Performance - Bird

It includes sending domains, IPs, authentication, DKIM signing, bounce/feedback loop handling, and resource limits typical for high‑volume email delivery.

Note: Replace placeholders (like your-ip, your-domain.com, your-dkim-selector) with your actual values.

# ====================
# PowerMTA Sample Config (Hot / Production)
# ====================

Adaptive throttling & backoff

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