From owner-freebsd-questions@FreeBSD.ORG Wed Oct 3 22:14:58 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73EE416A41B for ; Wed, 3 Oct 2007 22:14:58 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id EC53113C478 for ; Wed, 3 Oct 2007 22:14:57 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.12.11) with ESMTP id l93MEWuZ023904; Wed, 3 Oct 2007 17:14:35 -0500 (CDT) Message-Id: <6.0.0.22.2.20071003171216.026173b0@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Wed, 03 Oct 2007 17:14:16 -0500 To: "Lisa Casey" , From: Derek Ragona In-Reply-To: <011e01c805fc$4c5dc3d0$d5b9bfcf@lisac> References: <011e01c805fc$4c5dc3d0$d5b9bfcf@lisac> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: FreeBsd e-mail question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Oct 2007 22:14:58 -0000 At 03:30 PM 10/3/2007, Lisa Casey wrote: >Hi, > >I'm running Sendmail and Qpopper on FreeBsd. (And perhaps I ought to be >asking this on the Qpopper list, but hopefully someone here knows an >answer). We have all of our mailboxes in mbox format in /var/mail. When a >customer pops his mail for the first time it creates a file .username.pop >in /var/mail which never goes away, it remains as a zero byte file. It's >quite useful as we can tell from the timestamp on it when the customer >last popped his mail. > >The problem comes in when a customer cancels his account. We remove users >by rmuser username. That command removes the user from the password file, >removes his home directory and removes the mailspool. What it doesn't do >is to remove the .username.pop file associated with that mailbox. This >isn't a problem unless we add another account with the same username. The >new account cannot pop his mail because he gets the following error messge: > >-ERR [SYS/PERM] Temporary drop /var/mail/.jjvc.pop not owned by jjvc. > >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? > >Thanks, > >Lisa Casey Lisa, rmuser only removes the system dependent files that adduser creates. You would need to creat your own shell script to remove the qpopper file and to call rmuser. Remember the basic utilities are meant to manage the core services, not add-on ports. -Derek >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. >MailScanner thanks transtec Computers for their support. > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.