Powermta Config File Link May 2026

pmta show config This is invaluable. It prints a single, massive config file showing every link resolved. If a linked file is missing, this command throws a clear error.

ln -sf /etc/pmta/configs/pmta.production.config /etc/pmta/pmta.config If your new configuration fails, you don’t need to scramble. You simply change the link:

pmta configtest Expected output: Config OK. powermta config file link

On a standard Linux installation, PowerMTA looks for its primary configuration at /etc/pmta/pmta.config . However, best practices dictate that you should without version control or fallback mechanisms. This is where the symbolic link becomes your best friend. Creating a Safe Config Link Strategy Instead of editing /etc/pmta/pmta.config , you store versioned files (e.g., pmta.config.v2 , pmta.config.v3 ) and use a symbolic link to point to the active one.

If any of these links break (e.g., IP 203.0.113.5 is no longer assigned to your server), PowerMTA will log a source-not-available error and refuse to send mail for that domain. Before you restart PowerMTA after editing links or includes, you must validate the entire linked tree. Use these commands: pmta show config This is invaluable

systemctl enable pmta systemctl enable network If the network link comes up after PMTA, the license check fails because the MAC address is temporarily missing. Store all your config files AND the list of symlinks in Git.

# INCLUDE: Gmail routing rules - Updated 2024-10-01 for new spam filters include /etc/pmta/isp/gmail_2024.conf Ensure your network starts before PowerMTA. On systemd: ln -sf /etc/pmta/configs/pmta

pmta show vmta gmail-vip This shows you the source, domain, and throttle links associated with that VMTA in real-time. Even experts encounter broken links. Here is a cheat sheet for the most frequent pmta.config link errors.