|
From: Jamie C. <jca...@we...> - 2005-10-06 23:54:06
|
On Fri, 2005-10-07 at 09:46, Bob wrote: > In the Webmin Sendmail module or more precisely in the System/System > Logs/File /var/log/maillog View > > Last lines of /var/log/maillog Only show lines with text > > I have noticed that the above criteria for display now picks up ALL > /var/log/maillog* instead of just /var/log/maillog > > Since I rotate my mail logs every 2MB the current log should never be > greater than 2MB. > > But when I ran the above display, I noticed that it was taking a very > long time to produce the results, then I noticed that it went all the > way back to the August 31 log ---which I have named > maillog200508311402 > > Webmin never used to do this and only recently have I noticed a > problem and I thought at first that something was wrong with my mail > server. > > Is there a way to tell it ONLY to search /var/log/maillog with NO > additional chars in the name? > > I need to run this fairly often as I have many users on the mail > server and when they complain about an error, I try to search for > particulars. > > It would be nice to have the OPTION of searching ALL logs, but the > default should be the main one or ALL which can be switched as needed. > > Version 1.230 on mail.dexis.net (Redhat Linux 7.2) Hi Bob, This is a new feature in Webmin 1.220 and above - by default, rotated log files are included in the search as well. However, there is a setting on the Module Config page of the syslog module that can be used to revert back to the old behaviour of just searching /var/log/maillog . - Jamie |