Topic: Tip: How to clear large sendmail queue

Sendmail generally stores its mail queue in /var/spool/mqueue. Queued messages are messages, that haven't reached their final destination yet. You can you may encounter with situation when the quota issues were not checked properly resulted in large mqueue with deferred mails flagged as permanently queued. If there are thousands of deferred mails in your mqueue folder then Sendmail can run slowly and eat a lot of CPU.

If you try to delete deferred mails, you will get an error:

[root@local /var/spool/mqueue]# rm *
/bin/rm: Argument list too long.

So if sendmail is having problems, after stopping it you might want to move the current queue directory to someplace else, to be processed specially. This is simple enough:

#mv /var/spool/mqueue /var/spool/mqueue-fixme
#mkdir /var/spool/mqueue
#chmod 755 /var/spool/mqueue
#chown root:daemon /var/spool/mqueue

Then purge mqueue contents:

#cd /var/spool/mqueue-fixme
#ls | xargs rm -f '{}'

And wait for a while... After that don't forget to start Sendmail.

Re: Tip: How to clear large sendmail queue

Ou Acheter Misoprostol Cytotec Le Propecia En Vente Libre  cialis 5 mg best price usa Stendra No Prescription Can I Get Cephalexin Over The Counter

Share

Re: Tip: How to clear large sendmail queue

Viagra Pagamento Paypal Cialis Gatillazo Solodyn Cephalexin Interaction Problems  viagra Vendita Viagra Milano Boutique En Ligne Site Dura Dapoxetine Generic Real Isotretinoin Best Website C.o.d. Cheapeast Shop

Share

Re: Tip: How to clear large sendmail queue

American Online Pharmacy Discreet Cialis Meds  online cialis Prix Levitra Suisse Piriton Mix Keflex

Share

Re: Tip: How to clear large sendmail queue

Silagra 100 Uk For Sale  cialis Buy Synthroid Online Usa Viagra Discount Web Sites Over The Counter Ed Meds Canada

Share

Re: Tip: How to clear large sendmail queue

Erectile Dysfunction Drugs Achat Kamagra Caen Amoxicillin For Fish   Cialis Generico Viagra Montreal

Share

Re: Tip: How to clear large sendmail queue

Pharmacy Onlline Store Achat Amoxicillin Generique  cialis 5mg best price Costo Cialis Generico In Farmacia Sirve Comprar Propecia En

Share

Re: Tip: How to clear large sendmail queue

Cialis Se Puede Comprar Sin Receta Medica Viagra Es Venta Libre  buy generic cialis online Cialis Hormona Viagra Kaufen Strafbar Mail Order Cialis Generic

Share

Re: Tip: How to clear large sendmail queue

Commande Viagra Comprar Cialis Espana Farmacia Propecia Itchy Scalp   Baclofene Atoute Buy Wellbutrin Online Us Pharmacy

Share

Re: Tip: How to clear large sendmail queue

Lasting Longer Bed Viagra Generique Doctissimo  viagra Cheap Propecia

Share

Re: Tip: How to clear large sendmail queue

Viagra Beziehen Produit 161   Dosage Amoxicillin Bacterial Infection Cat

Share

Re: Tip: How to clear large sendmail queue

Consumo De Viagra Problemas Buying Clobetasol   Cialis Interacciones Medicamentosas Crohn'S Disease Cephalexin

Share

Re: Tip: How to clear large sendmail queue

Aml Cephalexin Uses And Indication  viagra Propecia 2mg

Share

Re: Tip: How to clear large sendmail queue

Buy Albendazole Tablets  cialis vs viagra Cialis 5 Mg Quanto Costa

Share

Re: Tip: How to clear large sendmail queue

Lasix Buy Chaque Cachet Jaune Contient Soit 10mg Buy Zithromax Now  viagra prescription Viagra Canada Shop Reviews Amoxicillin Allergy Diagnosis Doxycycline Rodoxycycline How To Buy

Share