PowerMTA configuration example
Multi-domain DKIM signing
Separate selectors and keys for multiple customer domains.
This is a teaching baseline, not a drop-in universal production configuration. Replace all example values and test with your installed release.
Configuration
# Multi-domain DKIM signing
# Review every address, hostname, credential and path before use.
host-name pmta1.example.com
postmaster [email protected]
<virtual-mta vmta-11>
smtp-source-host 192.0.2.21 mail11.example.com
</virtual-mta>
<domain *>
max-smtp-out 2
max-msg-per-connection 20
retry-after 15m
bounce-after 4d
</domain>
# Publish selector1._domainkey.example.com before enabling signing.
domain-key selector1,example.com,/etc/pmta/dkim/example.com.pemDeployment checklist
- Replace documentation IP addresses and domains.
- Confirm PTR, forward DNS, SPF, DKIM, DMARC, and Return-Path alignment.
- Validate object names and included files.
- Start with low traffic and review responses by provider.
- Keep credentials outside publicly readable files and rotate them periodically.
What to monitor
- Queue age and destination backlog.
- Temporary versus permanent response rates.
- Connection failures, TLS negotiation, and authentication errors.
- Complaint, bounce, and suppression events.