PowerMTA configuration example

Sender-domain routing

Routes approved envelope sender domains to defined VMTAs.

This is a teaching baseline, not a drop-in universal production configuration. Replace all example values and test with your installed release.

Configuration

# Sender-domain routing
# Review every address, hostname, credential and path before use.
host-name pmta1.example.com
postmaster [email protected]

<virtual-mta vmta-04>
    smtp-source-host 192.0.2.14 mail4.example.com
</virtual-mta>

<domain *>
    max-smtp-out 2
    max-msg-per-connection 20
    retry-after 15m
    bounce-after 4d
</domain>

Deployment checklist

  1. Replace documentation IP addresses and domains.
  2. Confirm PTR, forward DNS, SPF, DKIM, DMARC, and Return-Path alignment.
  3. Validate object names and included files.
  4. Start with low traffic and review responses by provider.
  5. Keep credentials outside publicly readable files and rotate them periodically.

What to monitor

Search Trushilla Documentation