"P. R. Seshan" wrote:
> I am using sendmail as mail server. I've about 10 mails stuck in my mail
> queue stating an I/O error. Is there any way to remove the mail from the
> mailq. if so how ?

Look in /var/spool/mqueue

All messages queued for delivery are stored there.

> 
> Now that that area of disk where mailq is stored is corrupted, is there
> any way to redirect the mail queue in to a different area temporarily
> till I procure another disk ?

I suppose you could first delete the mqueue directory, and then recreate
it with the same rights.

Actually, run a fsck before recreating it.  You should stop sendmail
before you do this:  kill %sendmail should work.

Then after you recreate the directory, restart sendmail:

sendmail -bd

HTH
Philip

To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list 
button and fill the appropriate information 
and submit. For any other queries contact the ML maintener

Reply via email to