Date: Wed, 22 Nov 2000 15:55:57 +0000
From: Mark Robinson
Date: Wed, 22 Nov 2000 12:19:50 -0600
From: Gary
Hi all,
Is there a way to force sendmail to send all queued mail when a certain number of messages are waiting to be sent, instead of just on its normal timed queue processing? E.g. process the queue every 2 hours, but if more than 15 messages are queued process now... I've done this with Lotus Notes and MS Exchange.
You could probably write a small shell script that loops and checks the mail queue for the number of messages, then once it hits = or > 15, it would then execute sendmail, and you can most certainly set cron to send sendmail every 2 hours. The other way is just type mailq and if you have a lot of messages, type /usr/sbin/sendmail -q I hate typing the absolute path, so I made a link to it, and just type sendmail -q. -- Best regards, Gary Today's thought: BREAKFAST.COM Halted - Cereal port not responding.
participants (2)
-
mcr@reason-technology.com
-
medmanks@mindspring.com