Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Dec 2006 16:43:04 -0500
From:      "Lisa Casey" <lisa@jellico.com>
To:        "Philip Hallstrom" <freebsd@philip.pjkh.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Moving /var/mail
Message-ID:  <002001c71591$af38e090$d5b9bfcf@lisac>
References:  <001a01c7157d$cb9feee0$d5b9bfcf@lisac> <20061201141929.G77687@bravo.pjkh.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002001c71591$af38e090$d5b9bfcf>