From owner-freebsd-questions Fri Feb 15 11:22:49 2002 Delivered-To: freebsd-questions@freebsd.org Received: from marlo.eagle.ca (marlo.eagle.ca [209.167.16.10]) by hub.freebsd.org (Postfix) with ESMTP id 1F1B537B405 for ; Fri, 15 Feb 2002 11:22:30 -0800 (PST) Received: from Bob (staff.eagle.ca [209.167.16.15]) by marlo.eagle.ca (8.11.3/8.11.3) with ESMTP id g1FJJgc76146; Fri, 15 Feb 2002 14:19:43 -0500 (EST) (envelope-from freymann@scaryg.shacknet.nu) From: freymann@scaryg.shacknet.nu To: jacks@sage-american.com, freebsd-questions@freebsd.org Date: Fri, 15 Feb 2002 14:23:37 -0500 MIME-Version: 1.0 Subject: Re: Sendmail POP Lock Message-ID: <3C6D19E9.28323.4016AE@localhost> In-reply-to: <3.0.5.32.20020215120509.00e34990@mail.sage-american.com> X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 15 Feb 2002 at 12:05, jacks@sage-american.com wrote: > I've just now set up a mail server using sendmail. Now, I see that > there is a constant lock ".sageame.pop" on the main mail box > "sageame". Popper installed and sendmail is configured. What did I > forget to do to cause this freezeup....? What do your logs indicate? We see this when a user starts downloading email and gets disconnected. The popper session can take up to 5 minutes before it times out and puts the mailboxes back in place. Sometimes it just goes to mars and we have to kill it manually and rebuild the mailboxes like this: You have to be the SuperUser. do a: ps aux |grep popper and get the Process ID Number for the popper session attached to the client in question. Kill the popper process, do a: kill -9 number This is kinda yucky, as it now leaves the mail in a sorry state. Go to /var/mail and do a: ll | grep username You need to see if any new mail has arrived. If true, you will now have two mailboxes with mail that belong to the client. 1) .username.pop 2) username You need to put all this back into one mailbox. Try: cat .username.pop username > new.username Then delete the two originals, do a: rm .username.pop username Then move the 'new' mailbox back, do a: mv new.username username Probably have to chown lusername username on it too Great fun. gf To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message