[Dovecot] Deleting mail accounts older than 6 monthes
Najib Abi Fadel
nabifadel at yahoo.com
Fri Dec 22 07:26:39 UTC 2006
I guess i am not using dovecot.index and apparently the atime option is not workin for me !
Is there any other way ?
I was considering the option of checking out the login time in the docevot log files in order to detect the users that has not logged in to their accounts during the last 6 monthes .
Kenneth Porter <shiva at sewingwitch.com> wrote: --On Thursday, December 21, 2006 12:03 AM -0800 Najib Abi Fadel
> i have a mail server with many users and i am using dovecot as pop3
> server. I was wondering if there is a way to detect the last date each
> user logged in to the server for retrieving his mail.
> I need to delete the users that has not logged in to their accounts the
> last 6 monthes.
The atime on the folder will tell you, if you haven't attempted to read the
file since Dovecot last accessed it.
That means you can't run a verify against the file when backing up the
partition. I get around this by remounting my partitions with noatime
before doing my verify pass. (The backup is done with dump, which bypasses
the filesystem and hence doesn't affect atime. But the verify is done with
restore, which does go through the filesystem.)
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dovecot