LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Linux Redhat - Email Error (https://www.linuxquestions.org/questions/linux-general-1/linux-redhat-email-error-32493/)

chuckf 10-10-2002 07:51 PM

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.

mcleodnine 10-10-2002 08:11 PM

Because the /var directory is full. /var/spool/mail is pretty important. make more room or mount it somewhere else.

RijilV 10-10-2002 08:16 PM

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

chuckf 10-10-2002 08:32 PM

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>??????

mcleodnine 10-10-2002 08:51 PM

my mail goes to /var/spool/mail. You can change it but you'll need to change the relevant mail server settings.

RijilV 10-10-2002 09:43 PM

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 :)


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