sendmail log analyzer
Vu Pham
vu at sivell.com
Sat May 2 09:12:09 PDT 2009
David A. Bandel wrote:
> On Fri, May 1, 2009 at 11:50 AM, vu pham <vu at sivell.com> wrote:
>> Could anybody please recommend some sendmail log analyzer ?
>>
>> I googled but seems unlucky. I tried isoqlog but it ends up with an error
>> "cannot open /var/log/current" which I am not sure what it wants.
>
> Not sure exactly what you want, but isoqlog must have a configuration
> file. First thing is checking where sendmail is logging to (different
> distros use different names) -- look for this info in
> /etc/syslog.conf. Put the correct filename in isoqlog's config file,
> and try again.
>
Thanks, David. Yes, it does have that config file which has entry for
where the log is. But if I point it /var/log/maillog then it complains
it needs a directory, not a file. When I point it to /var/log it
complains it cannot open the /var/log/current. :(
I found a temporary solution : I run a cron job to parse the
/var/log/maillog file, import them into a database ( I use Oracle
Express in this case ) then write some sql procedures to get the
statistics numbers. That work may take the same amount of time as
looking into the isoqlog source to figure out what it wants. :)
Vu
More information about the Linux-users
mailing list