Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 May 1996 14:18:18 -0400 (EDT)
From:      Glen Foster <gfoster@gfoster.com>
To:        xiyuan@www.haplink.co.cn
Cc:        freebsd-isp@freebsd.org
Subject:   Re: How can I redirect mail to other directory?
Message-ID:  <199605141818.OAA00603@ptavv.nsta.org>
In-Reply-To: <199505141608.BAA29374@www.haplink.co.cn> (message from xiyuan qian on Mon, 15 May 1995 01:08:25 %2B0900)

next in thread | previous in thread | raw e-mail | index | archive | help
Kick all your users off the system, then do this (as root)

kill -9 `cat /var/run/sendmail.pid`
cd /var
mv -f mail/* /usr/spool/mail
rm -rf mail
ln -s /usr/spool/mail mail
chmod 755 /usr/spool/mail
/usr/sbin/sendmail -bd -q30m

>Date: Mon, 15 May 1995 01:08:25 +0900
>From: xiyuan qian <xiyuan@www.haplink.co.cn>
>
> Hi, The original new mail reach my host all rested in /var/mail,
>located in / directory. Unfortunately, my / directory is not large
>enough to hold some large mail, usually make my host out of space or
>file full. I am trying many mathods to redirect the mail to other
>directory which has more space such as /usr/spool/mail, but all
>failed. If someone has such experices, would you please give me a
>favior. Thanks a lot.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605141818.OAA00603>