Web Hosting Talk







View Full Version : Email / Sendmail Problem on 550


Milkbomb
03-30-2005, 09:13 AM
Hi,

We have a RaQ550 which has suddenly stopped sending scripted (ie. form to email) emails from certain sites, but works fine for others.

The server is set up as a webserver only - no incoming email or DNS is managed using it. This is all handled elsewhere.

The mailq contains about 500 emails going back a few months - I assume these are my missing emails. Can anyone tell me:

a) How to fix the problem?

b) How to free the stored emails?

Many thanks,

Marcus

galacnet
03-31-2005, 12:19 AM
Don't really understand... but if you want to empty user email boxes you can go into their mail directories and issue a > command on him.

eg.
for user "exampleuser" issue a ">exampleuser" over SSH when in the mail directory

I love banners
03-31-2005, 01:51 AM
Hmm that is a weird problem. I would consult someone who knows more on the topic.

Milkbomb
03-31-2005, 04:43 AM
ILB - Helpful. Like maybe people who read this forum?

Galacnet - I'm talking about the outgoing email spool queue. Some emails generated by PHP scripts are getting trapped here and never seeing the light of day - it's a real problem.

I don't want to just delete them if I can force them to be sent. But mainly, I just want the problem resolved so we don't lose any more emails.

Thanks.

galacnet
03-31-2005, 11:32 AM
These are most properly spam because if they are in the mail queue there is a high chance that they are being sent to a non-existing mail box.

To remove them try this on Shell

rm /home/spool/mqueue/q1/*
rm /home/spool/mqueue/q2/*
rm /home/spool/mqueue/q3/*
rm /home/spool/mqueue/q4/*


You may want to read them and see what is being sent out first before you delete.

Milkbomb
04-01-2005, 04:38 AM
They're not spam. This server only has my sites on it. The email addresses are fine too. I was hoping to save them, but nevermind.

Thanks though!