Monitoring PowerMTA effectively is the difference between maintaining a pristine sender reputation and landing in the spam folder.
Most administrators rely on the default web monitor or simple log parsing. However, "better" monitoring requires a shift from reactive debugging to proactive observability. This guide covers the metrics, tools, and strategies needed to upgrade your PowerMTA monitoring stack.
PowerMTA does not natively output Prometheus metrics or Graphite data, so you need to bridge the gap. powermta monitoring better
bounce-log /var/log/pmta/bounces.log bounce-log-format "dsn=%D, btype=%b, rcpt=%r, domain=%d, reason=%e"
After this configuration, you can scrape http://localhost:8080/pmta-stats for JSON metrics. This is the foundation of better monitoring. The Ultimate Guide to Better PowerMTA Monitoring Monitoring
active queue size – Should correlate with sending velocity. A sudden >2x baseline indicates a bottleneck.max queue age – Messages older than your retry policy (e.g., 24h) signal delivery failures.hold queue – Non-zero often means DNS issues, domain throttling, or missing DKIM keys.This is the most overlooked pillar. PowerMTA can receive ARF (Abuse Reporting Format) reports from ISPs, but few people monitor them actively.
pmta fbl command every hour. If complaints exceed 0.05% for any IP address, automatically ramp down that IP’s send rate or move it to a quarantine pool.Let’s define what "better" looks like through concrete alerting rules. These go beyond "disk full" or "PMTA not running." but it lacks historical data
The standard PowerMTA Web Monitor is excellent for a quick status check, but it lacks historical data, trend analysis, and alerting capabilities. If you only check the web monitor when delivery slows down, you are already too late.
Signs your current monitoring is insufficient: