Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

/var space full not sure what to do with mail 1

Status
Not open for further replies.

bkonner

MIS
Apr 28, 2001
101
US
Hi,

I made a posting in the general Linux server section, but I decided to do a posting here too.

My problem is that my var partition is too small. I added a hard drive to the /var partition. How do I redirect the /var/spool/mail to /var/incoming (my new hard drive)? I thought if I added a hard drive and moved mail to the new directory in /var this would work, but I can tell its not going to. I know I have to make configuration changes. I followed a suggestion of another post in the general Linux Server section, but it does not solve the hard disk space problem.

Any idea what I should do?

Thanks,
 
Hi,

I think that you should mount new created filesystem in /var/spool/mail directory instead of /var/incoming.

1. stop sendmail
2. copy (or move) all files from /var/spool/mail to /var/incoming
3. unmount /var/incoming
4. mount new created filesystem in /var/spool/mail
5. start sendmail

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top