Look at rsyslog -- it's a syslog daemon (that you might use and not know, it's the native one in a lot of distros). It can log directly to MySQL..
http://www.techrepublic.com/blog/opensource/set-up-rsyslog-to-store-syslog-messages-in-mysql/1174 --- Aaron Bennett Manager of Systems Administration Clark University ITS -----Original Message----- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Naval saini Sent: Wednesday, July 25, 2012 5:06 AM To: postfix-users@postfix.org Subject: How to store /var/log/maillog in sql database..? I have configured postfix mail server and i use it for sending mails from my clients. when they send mails some mails are delivered, some are bounced,deferred,expire. and they report me that mails are not delevering. Now i want if we can store to,from address and status of mails in database and can be viewed graphically. Is there any way to accomplish this task.? -- View this message in context: http://old.nabble.com/How-to-store--var-log-maillog-in-sql-database..--tp34209278p34209278.html Sent from the Postfix mailing list archive at Nabble.com.