Postfix mail.log to database
#1
Postfix mail.log to database
I am wondering if anybody can help me implement my postfix logs in a database. We need to have the ability to run reports on sent, delivered, bounced (soft and hard), deferred and rejects by domain and senders. I have looked all over the web but have not come across something that will work.
Reply
#2
RE: Postfix mail.log to database
This is not a support question, but a custom development request.
Unhappily, I cannot help on it... because I have no idea about how to implement it, so i'm at same state than you : require to learn ! And I am not sure that someone in the team already did it.
I'll move it in public forum, it may get more ansvers.
Reply
#3
RE: Postfix mail.log to database
This could be done in 2 ways. Create the report directly from the log file (probably slow and may not be 100% due to log-rotate) or make a script to parse the log (on daemon run?) and dump it into a database which can later be read by another script that will sort the data according to your needs. The difficult part is how to put the data descriptions in the database so they can be sorted. Unfortunately I do not have the time to work on something like this at this time.
I'll try and do a search also to see if anything is out there already.

After a quick search There seems to be a few things out there. [google]php script to parse postfix logs[/google]
-TGates - Project Council

SEARCH the Forums or read theĀ DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
user: 'postfix' host: 'localhost' (Got an error reading communication packets) cezars 0 3 ,354 02-01-2022, 08:58 PM
Last Post: cezars
External mail client cannot connect to server iraqiboy90 2 8 ,205 02-28-2021, 11:34 AM
Last Post: iraqiboy90
Using ssl certificate for Postfix and Dovecot in multiple domains. davi-dns 9 40 ,351 12-03-2018, 05:13 PM
Last Post: fearworks

Forum Jump:


Users browsing this thread: 1 Guest(s)