LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Mail doesn't exchange! (https://www.linuxquestions.org/questions/linux-server-73/mail-doesnt-exchange-710655/)

Md.Abul Quashem 03-10-2009 11:01 PM

Mail doesn't exchange!
 
Hi dear all,

I'm hoping all of u r well.
I've a great problem in my linux mail server. mails doesn't exchange, then I saw that /var is full 100%
the df -h command shows the following output:
[root@dhaka var]# du -sh *
12K account
175M amavis
17G cache
16K crash
8.0K cvs
28K db
32K empty
8.0K ftp
8.0K games
16K gdm
62M lib
8.0K local
40K lock
44M log
20K lost+found
4.0K mail
540K named
8.0K net-snmp
8.0K nis
8.0K opt
8.0K preserve
8.0K racoon
244K run
2.5G spool
599M squid
8.0K tmp
8.0K tux
52M virusmails
8.8M www
24K yp

how can I get more space by removing unwanted files from above.
Please help me asap.
Thanks,
Nabil

archangel_617b 03-10-2009 11:52 PM

Quote:

Originally Posted by Md.Abul Quashem (Post 3471416)
17G cache

Well, there's your problem right there. What's in there? Try using:

Code:

du -sm /var/cache/* | sort -g
That will give you the folders sorted in ascending order by size.

If I had to guess, I'd say this is probably from downloaded package updates which you no longer need. Depending on what distro you use, cleanup is a little different.

For Debian / Ubuntu, I think it's:

Code:

sudo aptitude clean
For RedHat / Fedora, I think it's:

Code:

yum clean packages
Ciao,
- Arch


All times are GMT -5. The time now is 09:58 AM.