Linux - GeneralThis 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
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.
We've got a dedicated server running fedora core 2.
We're having some problems logging into Horde, it just keeps giving us the login screen without any error message. We also have some php scripts which send emails out, and they are not sending either.
I tried locating a file today, but locate said the database was corupt, so I tried updatedb, only to be told that there isnt enough space on the partition.
I've had a look, and it seems like the qmail folder is using up 3.9Gb of a 4Gb paritition.
I have no idea where to start with this as I've never used qmail before, but I assume I need to clear some stuff out of this folder, but I'm not sure what.
The /qmail/queue/ folder is 2.8Gb, so I assume this is where everything is.
My guess is that your queue is full of joe-job bounces. Either that are one of your users is infected with a virus. The queue is messages waiting to be sent. You can see how mayn messages are in there by running
Code:
# /var/qmail/bin/qmailctl stat
Do *NOT* simply start deleting files from the queue; you could cause irrepairable damage to your queue. Check out www.qmail.org for tools to view the messages in the queue as well as remove messages from the queue.
Did you look to see what the queued messages were? Simply deleting them won't do you much good in figuring out *why* this problem happened in the first place.
How do I look at the queues. its just that the partition is full again today, as well as another partition where the maillog is held, the maillog file was 4.3gb
Originally posted by fuelinjection How do I look at the queues.
Quote:
Originally posted by TruckStuff My guess is that your queue is full of joe-job bounces. Either that are one of your users is infected with a virus. The queue is messages waiting to be sent. You can see how mayn messages are in there by running
Code:
# /var/qmail/bin/qmailctl stat
Do *NOT* simply start deleting files from the queue; you could cause irrepairable damage to your queue. Check out www.qmail.org for tools to view the messages in the queue as well as remove messages from the queue.
Quote:
Originally posted by fuelinjection its just that the partition is full again today, as well as another partition where the maillog is held, the maillog file was 4.3gb
OK, you have several *serious* problems:
1) Your queue is inexplicably filling up quickly. This is not "just" a little problem.
2) Your maillog is filling up radpidly. This means you didn't install qmail per Life w/ Qmail, otherwise your mail logs wouldn't be that big.
3) The fact that you didn't install per LWQ means that you are probably also an open relay for spammers.
4) You obviously have no interest in actually *reading* your logs, otherwise you would probably find the cause of your problems.
My suggestion:
1) Shutdown qmail. Immediately.
2) rm -rf /var/qmail
3) Reinstall qmail per Life w/ Qmail
4) Read your logs!
The server was supply as is by 1and1, so I didnt install qmail.
I've reported the problem to them and left it with them to resolve, in the meantime I found that qmail was open to everyone so I've restricted it to authenticated users only.
We have no users that use the server as STMP, so it can only be someone who has exploited the fact that the server was left wide open.
Originally posted by fuelinjection The server was supply as is by 1and1, so I didnt install qmail.
I've reported the problem to them and left it with them to resolve, in the meantime I found that qmail was open to everyone so I've restricted it to authenticated users only.
We have no users that use the server as STMP, so it can only be someone who has exploited the fact that the server was left wide open.
In that case you probably want to change hosting companies. If they don't even know how to secure a mail server, god only knows what else they don't know. Sounds like a disaster waiting to happen.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.