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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"Messages in queue" number does not go down.

Status
Not open for further replies.

timmd1968

IS-IT--Management
Apr 15, 2005
25
0
0
US
We have 44199 messages in queue and that number does not go down. Is there a method to force the queue to drop all the messages in queue that are older than a certain date?

The /var/qmail/control/queuelifetime is set to 345600
 
I believe if you change the number in the queuelifetime to something that more suits your needs you'll see more messages drop out.

If you were the victim of a spam run and just want to rip messages out of the queue by matching a string, you should look into qmail-remove by Linux Magic.

D.E.R. Management - IT Project Management Consulting
 
I have changed the qmhandle script to use qmailctrl instead:

# While this is if you have a Debian GNU/Linux with its qmail package
#my ($stopqmail) = '/etc/init.d/qmail stop';
#my ($startqmail) = '/etc/init.d/qmail start';
my ($stopqmail) = 'qmailctrl stop';
my ($startqmail) = 'qmailctrl start';

Hopefully, this will work next time I delete an email using qmhandle!

Regards,

Mon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top