This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

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
Thanks given by:
#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
Thanks given by:
#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
-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
Thanks given by:


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

Forum Jump:


Users browsing this thread: 1 Guest(s)