LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-10-2002, 07:51 PM   #1
chuckf
LQ Newbie
 
Registered: Oct 2002
Posts: 3

Rep: Reputation: 0
Linux Redhat - Email Error


I recently had installed a linux redhat server, primarily we use it for email. Its been 2 days, and I am getting this error:

Server Response: '452 4.4.5 Insufficient disk space; try again later', Port: 25, Secure(SSL): No, Server Error: 452, Error Number: 0x800CCC78

My var directory partition is full.. here is the df -kh report.. but i dont know how to fix it.

Filesystem Size Used Avail Use% Mounted on
/dev/sda6 372M 121M 232M 35% /
/dev/sda1 45M 14M 29M 32% /boot
/dev/sda5 16G 57M 15G 1% /home
none 1008M 0 1008M 0% /dev/shm
/dev/sda2 32G 1.4G 28G 5% /usr
/dev/sda7 251M 251M 0 100% /var

Thanks for any help.
 
Old 10-10-2002, 08:11 PM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Because the /var directory is full. /var/spool/mail is pretty important. make more room or mount it somewhere else.
 
Old 10-10-2002, 08:16 PM   #3
RijilV
Member
 
Registered: Sep 2002
Location: somewhere
Distribution: gentoo
Posts: 123

Rep: Reputation: 15
yeah, you have a full var directory. I suggest you either

- move your mail directory somewhere else
- add more disk space and mount it as /var/spool/mail
- rf -rf /var/spool/mail/* ---thats what I would do, users might cry, but I'm a BOFH

unless of course, your var directory is full of other stuff...logs would be the only other thing that would likely cause that..

I'd also suggets:

find /var -type d | du -Shc | less
 
Old 10-10-2002, 08:32 PM   #4
chuckf
LQ Newbie
 
Registered: Oct 2002
Posts: 3

Original Poster
Rep: Reputation: 0
All my users are in /var/spool/mail

From what i gather, they should be somewhere else.. how would you move them.. var should just be logs.. etc I assume>??????
 
Old 10-10-2002, 08:51 PM   #5
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
my mail goes to /var/spool/mail. You can change it but you'll need to change the relevant mail server settings.
 
Old 10-10-2002, 09:43 PM   #6
RijilV
Member
 
Registered: Sep 2002
Location: somewhere
Distribution: gentoo
Posts: 123

Rep: Reputation: 15
I can only assume this is a pressing problem.

what you can do as a quick fix:

move you mail directory to /home/mail as you have 15Gigs of space there. Howerver, keep in mind, mail "should" go in /var/spool/mail.

you'll have to edit your config files for you mail system, look for lines like "/var/spool/mail" and change them to /home/mail

also copy over the files, perserve permissions..make sure you create the mail directory under /home with the same permissions /var/spool/mail has...


a perminate fix would be to aquire another harddisk and mount that as /var/spool/mail, once again copy'ing data over and perserving permissions, as well as making sure that the new mount has the correct permissions...

the perminate fix is desired.

or you can do something really satanic, and just create a sym link, but you shouldn't do that, so I'll let you figure that one out
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Email Server with RedHat Linux 9 basketkase999 Linux - Newbie 1 03-06-2005 10:27 PM
Configuring SEnd mail as Email server in Redhat Linux 8.0 ganeshrk Linux - Networking 0 01-31-2004 04:02 AM
email client as good as the bat! for redhat 9 linux Razgo Linux - Software 9 12-22-2003 10:11 PM
how to configure email at linux redhat 7.2 jycm2001 Linux - Networking 3 10-16-2003 03:50 AM
Redhat Linux 6.2 Email Delivered to Server but POP3 and IMAP Mailboxes show empty. RCorbet Linux - Software 0 04-14-2003 09:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration