Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Distribution: RH 7.3/8.0/9.0, Debian Stable 3.0, FreeBSD 5.2, Solaris 8/9/10,HP-UX
Posts: 340
Rep:
Limit amount of emails on server
I have this mail server available to my friends at campus. It works fine until recently I've noticed that its performance degraded considerable - I traced the problem, and it was due to the large amount of emails left on the server. The users of my mail server tend to leave the emails on the server after reading them and this will eventually hog the system - imagine a scenario which actually happened of a user leaving nearly 2,000 msgs on his mailbox and whenever he tries to access them, the entire server slows down to death!
How can i solve the problem? My idea is to restrict the size of the total emails left on the server to approx. 30MB and whenever a user approaches the limit, he is sent a notification via email to remove them. When the user exceeds the limit, the new incoming emails will wither replace the new ones on the server, or simply "rejected". Any programs available?
Have you looked into using quotas yet? As far as the auto email thing, I'll hunt around to see if I can find anything on that. A script writer around here would surely be able to bust something out for you in a jiffy, but unfortunately I'm not one of them
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.