Date: Wed, 3 Oct 2007 23:30:35 +0200 From: Erik Trulsson <ertr1013@student.uu.se> To: Mel <fbsd.questions@rachie.is-a-geek.net> Cc: freebsd-questions@freebsd.org, lisa@jellico.com Subject: Re: FreeBsd e-mail question Message-ID: <20071003213035.GA60715@owl.midgard.homeip.net> In-Reply-To: <200710032304.59151.fbsd.questions@rachie.is-a-geek.net> References: <011e01c805fc$4c5dc3d0$d5b9bfcf@lisac> <200710032304.59151.fbsd.questions@rachie.is-a-geek.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 03, 2007 at 11:04:58PM +0200, Mel wrote: > On Wednesday 03 October 2007 22:30:54 Lisa Casey wrote: > > > If I take a look at /var/mail/.jjvc.pop it isn't owned by anyone, the > > ownership of the file is the group number of the original jjvc. > > > > -rw-rw---- 1 1473 mail 0 Sep 11 19:15 > > .jjvc.pop > > > > Is there anyway to have rmuser remover the mail drop file associated with > > that account also, or am I just going to have to remove these manually? > > rmuser is a shell script. There's 2 ways to solve this problem: > 1) edit the rm_mail function in /usr/sbin/rmuser to use: > ${MAILSPOOL}/.${login}.pop > 2) Better option is to change the default temp-name in qpopper.config: > set temp-name "%s.pop" > so that rmuser will detect it automatically. A third option is to write a wrapper shell script that first calls rmuser and then removes the remaining mail drop file, and use this script to remove users instead of calling rmuser directly. Option 2) above sounds like a better solution though. -- <Insert your favourite quote here.> Erik Trulsson ertr1013@student.uu.se
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071003213035.GA60715>