From owner-freebsd-questions@FreeBSD.ORG Fri Dec 1 21:43:26 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CDFA116A412 for ; Fri, 1 Dec 2006 21:43:26 +0000 (UTC) (envelope-from lisa@jellico.com) Received: from mail.jellico.com (mail.jellico.com [207.191.185.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id E25F143CA7 for ; Fri, 1 Dec 2006 21:43:09 +0000 (GMT) (envelope-from lisa@jellico.com) Received: from lisac (lisa.jellico.com [207.191.185.213]) (authenticated bits=0) by mail.jellico.com (8.12.6/8.12.6) with ESMTP id kB1Lpkej025238; Fri, 1 Dec 2006 16:51:46 -0500 Message-ID: <002001c71591$af38e090$d5b9bfcf@lisac> From: "Lisa Casey" To: "Philip Hallstrom" References: <001a01c7157d$cb9feee0$d5b9bfcf@lisac> <20061201141929.G77687@bravo.pjkh.com> Date: Fri, 1 Dec 2006 16:43:04 -0500 Organization: Netlink 2000, Inc. MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-Scanned-By: MIMEDefang 2.48 on 127.0.0.1 Cc: freebsd-questions@freebsd.org Subject: Re: Moving /var/mail 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: Fri, 01 Dec 2006 21:43:26 -0000 Hi Phillip, > I'm a little confused... if you want to move /var/mail to /usr/var/mail > why are you messing around with /home at all? As I said - that was a dry run to see if this would work the way I thought it would (it didn't). I'ld rather practice with a users home directory that isn't important than risk screwing up people's mail boxes. > This is what I would do... > > ... stop your smtp program > ... stop your pop/imap program > tar zcvpf /tmp/varmail.tpgz /var/mail > mkdir -p /usr/var > mv /var/mail /usr/var/mail > ln -s /usr/var/mail /var/mail > ... restart your smtp/pop/imap programs... Thanks. I'll try this tomorrow. On a users home directory first... Lisa Casey