Description
PMTA Scraper — Python tool to export PowerMTA logs to CSV (fast & easy)
PMTA Scraper is a lightweight Python utility that connects to your PowerMTA servers, parses delivery logs, and saves clean CSV reports you can analyze in Excel, Google Sheets, or BI tools. No more manual SSH, grep, or copy-paste—grab the data you need in minutes.
Key benefits
-
One-click exports: Pull PMTA logs and download tidy CSVs instantly.
-
Accurate parsing: Normalizes log lines into structured columns (timestamp, event, recipient, response, status, IP, queue, campaign tag, message-id, etc.).
-
Filter at the source: Date/time range, event types (delivered/deferred/bounce/complaint), domain, IP pool, campaign tag.
-
Multi-server ready: Scrape from multiple PMTA boxes in one run; auto-merge & de-duplicate rows.
-
Handles big files: Streams/compresses, supports resume on network drop.
-
Automation-friendly: Schedule recurring exports (cron/Task Scheduler) and auto-save to a folder or S3.
-
Secure by design: SSH/SFTP with key auth; no credentials stored in plain text.
Core features
-
PMTA log discovery (daily/rotated files,
.gz
included) -
Fast regex parser tuned for PMTA formats
-
Bounce/complaint reason extraction
-
Custom column mapping for your analytics stack
-
Output: CSV (UTF-8), optional Parquet for large datasets
-
Optional domain rollups & hourly aggregates
Typical use cases
-
Daily deliverability reports (inbox vs. deferrals vs. bounces)
-
ISP/domain performance comparisons
-
IP pool/campaign tag monitoring
-
Complaint tracking and suppression updates