type d,b,r,c # Record Deliveries, Bounces, Rejections, and Connections record-fields d timeLogged,orcpt,srcMta,vmta,delay,dsnStatus,dsnDiag record-fields b timeLogged,orcpt,srcMta,vmta,delay,dsnStatus,dsnDiag Use code with caution. 7. Verifying and Testing Your Config File Link
These define the basic operational parameters of your server, such as the execution user, logging locations, and performance limits.
: After making changes, use pmta reload to apply them without a full restart. 2. Essential Configuration Sections powermta config file link
smtp-source-ip 192.0.2.1 host-name ://yourdomain.com virtual-mta mta-pool-1_ip1 Use code with caution. 2. The Domain Rules Link ( domain-rules.conf )
A PowerMTA configuration file is a plain-text document, yet its contents dictate the success or failure of global email campaigns. At its core, the file defines VirtualMTAs type d,b,r,c # Record Deliveries, Bounces, Rejections, and
ISPs like Gmail and Yahoo have strict limits on how many emails they’ll accept per hour. Use the tag to throttle your speed:
: This file is crucial if you're setting up a PowerMTA cluster. It defines cluster settings. : After making changes, use pmta reload to
# ===================================================================== # POWERMTA MASTER CONFIGURATION FILE # Location: /etc/pmta/config # ===================================================================== # --- GLOBAL SETTINGS --- run-as-user pmta the-id pmta-server-01 # --- LOGGING AND ACCOUNTING --- log-file /var/log/pmta/log accounting-file /var/log/pmta/acct.csv # --- NETWORK LISTENERS --- smtp-listener 127.0.0.1:25 smtp-listener 192.168.1.10:25 http-mgmt-listener 192.168.1.10:8080 # --- SECURITY & ACCESS CONTROL --- always-allow-relaying yes process-x-envid yes process-x-job yes always-allow-relaying yes log-connections yes # --- PERFORMANCE TUNING --- max-recipients-per-connection 100 smtp-client-tls-mode starttls # --- LINKED CONFIGURATION FILES --- # Use these links to manage keys and routing independently include /etc/pmta/dkim.conf include /etc/pmta/vmta.conf include /etc/pmta/domain-rules.conf # --- DEFAULT FALLBACK DOMAIN RULE --- max-smtp-out 20 max-msg-rate 1000/h retry-interval 30m Use code with caution. Testing and Validating Your Configuration File
# This is a minimal but functional /etc/pmta/config file
always-allow-relaying yes smtp-users-authentication no auth-type password allow-starttls yes Use code with caution. 3. Virtual MTAs (Outbound IPs)
This external file links your system to custom delivery rules for specific ISPs like Gmail, Yahoo, or Outlook to prevent rate-limiting blocks.