On Wed, Jul 04, 2001 at 03:17:07PM +0800, PM WONG wrote:
> I have used the new feature of ver 4.0.3 which allows setting
> server mode for individual users.
> Mostly, it's okay as i monitored the files and
> .user.pop always remains 0 size (i.e. much faster now as it won't
> have to copy from /var/spool/mail/user)
> But strange thing is that at times, i could still see
> .user.pop starts to grow (i.e. copied as if no server mode was set)
> Under what circumstances does it behave like this ?
There are certain circumstances where even in server mode it "must"
recopy the spool file (must in the sense of the easiest way to avoid
some hideously complicated and error-prone update-in-place algorithm.)
The main cases I know of are:
1) POP client deletes some mail selectively, but not all mail;
2) POP client deletes all mail, but new mail is delivered to the spool
during the POP session, and must be preserved.
Clearly neither of these can be handled either by leaving the spool
file alone or by truncating it, which are the server mode's special
optimizations. The nice thing is that those two simple optimizations
probably account for 90% or more of all POP sessions.
-- Clifton
--
Clifton Royston -- LavaNet Systems Architect -- [EMAIL PROTECTED]
WWJD? "JWRTFM!" - Scott Dorsey (kludge) "JWG" - Eddie Aikau