On 3/15/2013 1:59 AM, Ram wrote: > I have a postfix server sending out mails and we are creating reports by > parsing the maillogs using a couple of perl cron scripts > (linux machine with mysql ) > > Now the requirement is of realtime reporting. > > I tried using rsyslog with a mysql table. But the performance is far too > bad. Rsyslog seems to have some memory leak and it brings down the machine. > > I guess realtime logging should be a very common requirement.
Actually it's not. > What is > the best way for this Postfix logs to the UNIX syslog facility. What you do with it from there is outside the scope of Postfix. What you should probably be looking for is a generic log watching daemon that can capture appends on the fly. -- Stan