Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Dec 1998 09:57:12 -0500 (EST)
From:      Bill Vermillion <bill@bilver.magicnet.net>
To:        freebsd-isp@FreeBSD.ORG
Subject:   Re: Leftover qpopper drop files
Message-ID:  <199812091457.JAA13317@bilver.magicnet.net>
In-Reply-To: <Pine.BSF.3.96.981208120652.9822E-100000@archer.fsr.net> from Mike Harshbarger at "Dec 8, 98 12:46:40 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Harshbarger recently said:

> I've recently moved my mail server from a Solaris x86 platform
> over to FreeBSD. I *love* the performance improvement, but I've
> run into an irritating qpopper problem. As a friend put it: "Oh,
> you've got the new qpopperdropper!" :)

> I've ran qpopper 2.53 on both systems. Qpopper creates a temporary
> drop file named /var/mail/.username.pop. On Solaris, this file was
> deleted after use. They hang around in FreeBSD. If a new customer
> happens to pick the same username as a old, deleted account,
> they'll get this error when they try to pop their mail:
...
> And then I get to jump in and either delete or chown the leftover
> temporary drop file.

Just be careful on chown.  I've seen instances where a
crash/disconnet of a users system leaves their current mbox
in .whomever.pop.  It can be used to recover, but you need to
append the current mailbox contents to it if you are going to move
it back.

....

> It'd be easy for me to cron a script that would chown the
> temporary files to the correct userid or simply delete ancient
> ones, but I don't want to if I can fix this problem another way.

So what constitues 'ancient'.  I've seen popper dot files for casual
users that are quite old.  Chown has problems if the instance I
mentioned above (though I've only seen it once) occures.

I think the best place to handle this problem is in the script that
removes the user, and have it remove the   .user.pop  file at
the same time.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812091457.JAA13317>