Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I need to clear some disk space from a Debian server. I've gone through and run apt-get clean as well as apt-get autoclean. It looks like the majority of the files taking up space are in /var/spool/Spamassassin.
I don't have access to the individual email accounts so I'm not sure if there's a "proper" way to remove those files. Is it bad to just rm -rf the contents of the /var/spool/spamassassin directory? Is there a recommended way to purge those files?
If thats where user's email is quarantined for spam then i would write a script that automatically deletes messages older then X days. And then make sure that they know that the server policy is to delete all spam that is that old.
It's my first time on this box.. the old admin quit in a huff and sort of walked out. I'm doing damage control so I'm afraid I don't know much.
The server is 100% full and there's 4GB of stuff in the /var/spool/spamassassin folder.. I'd love to just rm -rf it but I've no idea if spamassassin would complain or stop working properly if I did that..
If the server is 100% full, you need to do a lot more than clean out that one directory.
Why not backup the directory onto another drive (server, DVD, etc.). Then delete it and see if anyone misses it. (Tell people first what you are doing.)
More generally, do users have disk quotas? (Perhaps they should.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.