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
[Not Solved] 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
[Not Solved] 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
[Not Solved] 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 - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support or modules helpful? Donate HERE
Get your domains using my affiliate link:
GoDaddy - Domains
Reply
Thanks given by:


Possibly Related Threads...
Thread Author Replies Views Last Post
Using ssl certificate for Postfix and Dovecot in multiple domains. davi-dns 9 13,784 12-03-2018, 05:13 PM
Last Post: fearworks
E-mail quota limit danandrade 6 14,238 08-28-2018, 05:22 PM
Last Post: speeddemon786
How to configure mail server? Como configurar servidor de email? natansousa1992 1 981 05-30-2018, 05:05 PM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)