[Mimedefang] [OT] Re: Spillover queue
Stephen L Johnson
stephen.johnson at mail.state.ar.us
Mon Aug 11 18:07:01 EDT 2003
On Tue, 2003-08-05 at 16:08, David F. Skoll wrote:
> On Tue, 5 Aug 2003, Cormack, Ken wrote:
>
> > Ideally, I think the best option may just be to wait until the sendmail
> > "spillover host" that I proposed gets budgeted for.
>
> I use a "spillover host concept" on my main machine. If you look in
> the Sendmail "contrib" directory, there's a very useful tool called
> "qtool.pl" for moving messages from one queue directory to another.
>
> Once an hour from cron, I run "/bin/move-old-mail-messages.sh"
>
> and move-old-mail-messages.sh looks like this:
>
> #!/bin/sh
> #
> # Move messages with more than 10 retransmission attempts to slow queue
> SLOWQUEUE=/var/spool/slow-mqueue
> QUEUE=/var/spool/mqueue
> qtool.pl -e '$msg{num_delivery_attempts} >= 10' $SLOWQUEUE $QUEUE
A slightly off-topic question about the slow-mqueue. How do you have the
slow-mqueue configured in the sendmail.cf file? Or do you have a cron
job that fire off a runner on the queue (i.e.
/usr/sbin/sendmail -oQ/var/spool/slow-mqueue -q )
Thanks.
--
Stephen L Johnson stephen.johnson at mail.state.ar.us
Unix Systems Administrator sjohnson at monsters.org
Department of Information Systems
State of Arkansas
501-682-4339
More information about the MIMEDefang
mailing list