Powermta Configuration Guide Top

See exactly which domains are backing up.

$ pmta show queue | head -10
Domain: gmail.com       Attempts: 2   Next Retry: 34s
Domain: yahoo.com       Attempts: 1   Next Retry: 12s

A Virtual MTA is a named sending identity with its own IP pool, HELO, and DNS. powermta configuration guide top

# Define IPs assigned to this server
<source 192.168.1.10>
    process-x-forwarded-for yes
</source>
<source 192.168.1.11>
    process-x-forwarded-for yes
</source>

Fast flush sends messages the moment they enter the queue, not on a timer. See exactly which domains are backing up

<source *>
    auto-fast-flush yes
    fast-flush-delay 1   # seconds
    fast-flush-limit 50  # messages
</source>

This defines how many total outgoing connections PMTA will make. Start here. A Virtual MTA is a named sending identity

max-smtp-out 500   # For a mid-tier server (4 vCPU, 8GB RAM)
# Warning: Do not exceed 2000 without kernel tuning.
<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>

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


LEAVE A REPLY

Please enter your comment!
Please enter your name here