Question : Writing sendmail logs to MySQL database in (close to) real time

Hi, I have an application running on a CentOS Linux server which sends email mesages.  For reporting purposes, I'd like the log data generated by sendmail to a MySQL database, but I can't find an easy way to do this.

I don't have to use Sendmail, if there is another mail app which would make this task easier.

Answer : Writing sendmail logs to MySQL database in (close to) real time

http://www.rsyslog.com/ can be configured to log to mysql and/or flat files for all syslog (inlcuding mail) log files. It's a drop in replacement for the normal syslog program
Random Solutions  
 
programming4us programming4us