Date: Tue, 14 May 1996 20:16:08 +0100 From: "Gary Palmer" <gpalmer@FreeBSD.ORG> To: xiyuan qian <xiyuan@www.haplink.co.cn> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: How can I redirect new mail arriving my host to other directory from the default /var/mail? Message-ID: <20331.832101368@palmer.demon.co.uk> In-Reply-To: Your message of "Mon, 15 May 1995 01:13:52 %2B0900." <199505141613.BAA29381@www.haplink.co.cn>
next in thread | previous in thread | raw e-mail | index | archive | help
xiyuan qian wrote in message ID <199505141613.BAA29381@www.haplink.co.cn>: > Hi, my / directory is not large enough, when the new mail is very > large, usually cause my host file full. I have tried many mathods to > redirect the mail locates at the default directory /var/mail to other > directory which has more space, but all failed. If someone has such > experience, would you please give me a faviour. Thanks a lot! The easiest way is to move the /var/mail directory onto another partition (which has room) and make a symlink from the /var directory to the new location. e.g. mkdir /usr/var mv /var/mail /usr/var/mail ln -s /usr/var/mail /var This *MUST* be done while the mail system is idle, otherwise you risk losing mail. Gary -- Gary Palmer FreeBSD Core Team Member FreeBSD - Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20331.832101368>