I increased the number and size of the log files in multilog and had cron run several times a day and it works.

Franky Van Liedekerke wrote:

If you have thousands of users, I would find it very strange if you even
try to log a successfull authentication when somebody checks his mail. I
tried this once but our logserver just couldn't keep up with the
enormous amount of data and started dropping lines. When you have
50.000 users online checking their mail automatically every 10 secs (or
at most 1 minute) you'll know what I mean.

Franky

On Mon, 16 Jun 2003 12:48:13 +0300
"Taymour A. El Erian" <[EMAIL PROTECTED]> wrote:



This is a rather slow and heavy thing to do if you have thousands of users on your server, I think it is better to do parse the log files
via a cron job to see the last access.


Franky Van Liedekerke wrote:



There is no such command, but it's easy to emulate:

do a find on your popserver for all directories for which the oldest
file in the subdir "new" is older than 6 months, or if that subdir is
empty: where the modify timestamp of new and cur is older than 6
months (best to do in perl). This will give you a list of maildirs
that you can map to accounts to delete. I have such a script lying
around somewhere but I can't dig it up right now ...

Franky

On Mon, 16 Jun 2003 04:10:49 -0500 (CDT)
[EMAIL PROTECTED] wrote:





Hi all, is therea way to delete accounts older than X date?

something like the vdelolduser command on vpopmail?

what i want is to delete all the accounts that have not been used


fore>more than 6 months for example.


regards.
















--
Taymour A El Erian
System Division Manager
CNA, MCSE, CCNA, LPIC
T.E. Data
E-mail: [EMAIL PROTECTED]
Web:     www.tedata.net
Tel:    +(202)-4166600
Ext:    1101














-- Taymour A El Erian System Division Manager CNA, MCSE, CCNA, LPIC T.E. Data E-mail: [EMAIL PROTECTED] Web: www.tedata.net Tel: +(202)-4166600 Ext: 1101





Reply via email to