Parsing maillog postfix into a php Table

I would like to make a parse of postfix mail log in an HTML/PHP page with a search bar and then creating a dynamic table with all these tags. when the table is done I should be able to click on the "Date" and another page should open with others info about that log *(2)

I will copy an example of a log

search: from: ...... to: ...... date: from: .... to: ....

Eg Table example: Date | time | from: Jack | to: John | status:


status detail

809318:Jul 11 14:13:50 amail-2014 postfix/smtpd[17127]: 78F5E83F28:[]
809320:Jul 11 14:13:50 amail-2014 postfix/cleanup[18135]: 78F5E83F28: message-id=<>
809324:Jul 11 14:13:50 amail-2014 postfix/qmgr[27711]: 78F5E83F28: from=<NO-REPLY@MOLEX.COM>, size=30390, nrcpt=1 (queue active)
809325:Jul 11 14:13:50 amail-2014 postfix/smtp[11782]: 78F5E83F28: to=<*****@SYLEX.SK>,[]:25, delay=0.73, delays=0.59/0/0.01/0.13, dsn=2.6.0, status=sent (250 2.6.0 <> [InternalId=50607599648815,] Queued mail for delivery)
809326:Jul 11 14:13:50 amail-2014 postfix/qmgr[27711]: 78F5E83F28: removed
809323:Jul 11 14:13:50 amail-2014 KLMS: not processed: message-id="": relay-ip="": av-reason="whitelist", ap-reason="whitelist", as-reason="whitelist", cf-reason="whitelist": action="Skipped": rules="3": size=30154: mail-from="NO-REPLY@MOLEX.COM": rcpt-to="*****@SYLEX.SK"
Filippo GaudenziAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

please specify what o/p you want based on your posfix log
Filippo GaudenziAuthor Commented:
sorry what is op im not from england?
I mean to say how you want to display the log.
Please insert some sample data from above example so that it would be better to understand or to provide you the script
Monitor and Analyze Slow Network Performance

SolarWinds® Bandwidth Analyzer Pack, is designed to detect, diagnose, and resolve network performance issues, and monitor and test network throughput and traffic patterns from a single customizable console.

Filippo GaudenziAuthor Commented:
here is a eg
Here is and Exemple of the table and when i click on Datum(date), eg July 11 it should open another page with others details like i wrote above
Its a big script i had written it long back.Hire some developer i could just give you a help on basic level. As this script would take time and effort
Filippo GaudenziAuthor Commented:
basicaly i have created on sqlite tables, now i need a php that reads /var/log/mail.log parse it and put it into the tables, and creates a dynamic table, i really dont know khow to create a dynamic table and make only the date but clickable, but its not a problem if the whole line is clickable
i already wrote some codes and phps but i dont know how to put them together

hope u understood
since you are the only one who aswered me and able to help me, maybe we could exchange mails
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.