I've had to do similar things many times before, and it always works. The one thing is if you are using Postfix, it does some, well, interesting checks tfor directory security before it runs, so that _could_be a problem, but I think it only spits out warnings.
Jon On Fri, 13 Jun 2003, Billy wrote: > Due to lack of quota configuration and proper partitioning on my part, my > /var partition filled up last night around 3:00 AM from a handful of 50M > mail spools. (Yeah, lets check "Leave mail on server", grar). Anyway. I > don't have an extra hard drive to throw in the machine to put /var on. NFS > is not an option. The idea I came up with was to shutdown sendmail, pop3, > and imapd, mv /var/spool/mail /hosting/mailspool (which has 30~G free), > ln -s /hosting/mailspool /var/spool/mail, then startup sendmail, pop3, and > imapd. > > Will sendmail/pop3/imapd work with the symbolic link? Anyone tried this, or > think of any immediate problems I would have with this? > > PS: Some box specs: > [EMAIL PROTECTED] mail]# cat /etc/redhat-release > Red Hat Linux release 7.2 (Enigma) > [EMAIL PROTECTED] mail]# rpm -qa | grep sendmail > sendmail-8.11.6-25.72 > sendmail-devel-8.11.6-25.72 > sendmail-cf-8.11.6-25.72 > sendmail-doc-8.11.6-25.72 > [EMAIL PROTECTED] mail]# rpm -qa | grep imap > imap-2001a-1.72.0 > php-imap-4.1.2-7.2.6 > [EMAIL PROTECTED] mail]# df -h > Filesystem Size Used Avail Use% Mounted on > /dev/sda7 486M 189M 272M 41% / > /dev/sda1 45M 28M 15M 64% /boot > /dev/sda5 741M 238M 465M 34% /home > /dev/sda2 24G 3.7G 19G 16% /hosting > /dev/sda8 387M 8.1M 359M 3% /tmp > /dev/sda3 6.7G 488M 5.8G 8% /usr > /dev/sda9 342M 241M 83M 75% /var > [EMAIL PROTECTED] mail]# > (Yeah, I got /var cleaned out, but I don't trust it over the weekend) > > Thanks. > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list