Date: Fri, 12 Jun 1998 10:26:19 -0600 (MDT) From: Atipa <freebsd@atipa.com> To: Terry Lambert <tlambert@primenet.com> Cc: Evren Yurtesen <yurtesen@ispro.net.tr>, freebsd-hackers@FreeBSD.ORG Subject: Re: hello Message-ID: <Pine.BSF.3.96.980612100715.16955A-100000@altrox.atipa.com> In-Reply-To: <199806121634.JAA09705@usr02.primenet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 12 Jun 1998, Terry Lambert wrote:
> > I have a so serious problem...
> > my /var/mail directory is nearly full...
> > and I do not know what to do, also I do not want to
> > change the current hard drive with a newer one, I just want to
> > add a new drive...
> > how may I tell sendmail to have some users' emails to store
> > to the new disk???
Install qmail. Set up qmail to deliver to user's home directories (as long
as the are on local (non-NFS) disks). You'll need to add a special case
for the user "root".
Then:
bash# cd /var/mail
bash# for i in *; do
> export USERHOME=`finger $i |grep home| head -1| awk '{print $2}'`
> echo -n "Copying mail for user $i to $USERHOME/Mailbox... "
> cp $i $USERHOME/Mailbox
> chown $i $USERHOME/Mailbox
> chmod 600 $i $USERHOME/Mailbox
> echo "Done"
> done
Kevin
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980612100715.16955A-100000>
