Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Empty the mailq

Status
Not open for further replies.

BIS

Technical User
Jun 1, 2001
1,893
NL
Hallo,

Can somebody tell me how I forcibly empty the mailq?
 
[tt]/usr/lib/sendmail -q -v[/tt]

However, if the load average is quite high on the system this might do nothing, in which case you could try:

[tt]/usr/lib/sendmail -q -ox80 -v[/tt]

Where 80 is the load average threshold above which sendmail goes on strike.
Annihilannic.
 
Ah! I should have realized it was a sendmail issue - man sendmail would tell me this. The load average is not high at all, so -q -v did the trick. Many thanks for the additional info and for pointing me in the right direction.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top