Split queues
Jeff A. Earickson
jaearick at colby.edu
Mon Jan 29 20:05:22 UTC 2007
On Mon, 29 Jan 2007, Julian Field wrote:
> Date: Mon, 29 Jan 2007 19:25:57 +0000
> From: Julian Field <MailScanner at ecs.soton.ac.uk>
> Reply-To: MailScanner Beta-testers <mailscanner-beta at lists.mailscanner.info>
> To: MailScanner discussion <mailscanner at lists.mailscanner.info>,
> MailScanner beta testers <mailscanner-beta at lists.mailscanner.info>
> Subject: Re: Split queues
>
> Okay, I've changed my mind.
>
> I have put in the split queue support for kicking MTA's to tell them about
> messages that need delivering in all queues.
>
> *Please* test this stuff in:
> Sendmail
> Exim
> Postfix
>
> Without sufficient testing, I will withdraw it again.
>
> Thanks folks.
>
> Julian Field wrote:
>> The latest beta should work, as far as it goes.
>> However, messages put in queues other than the default one won't be
>> "kicked" at the MTA. They will wait until the MTA next does a round of that
>> non-default queue.
Julian,
I'm installing and looking at 4.58.7 right now, but Whoa....
I confess that I didn't pay as much attention to this thread as I should have.
I run split outbound queues, ie:
Outgoing Queue Dir = %localrules-dir%/outqueue.rules
where the ruleset looks like:
To: @colby.edu /var/spool/mqueue/fastq
FromOrTo: default /var/spool/mqueue/slowq
I want to keep the local stuff dis-entangled from outbound stuff that may
not be resolving, to speed up local delivery. I also run a cronjob every
5 minutes that moves the non-deliverables to a delayq to get it out of
the way:
#!/usr/bin/ksh
#
# Move messages with more than 3 retransmission attempts to slow queue
#
QTOOL=/usr/local/adm/qtool.pl
FASTQUEUE=/var/spool/mqueue/fastq
SLOWQUEUE=/var/spool/mqueue/slowq
DELAYQUEUE=/var/spool/mqueue/delayq
#
#---anything in fast or slow queues with more than 3 attempts, go to delayq
#---stuff will sit in the delayq until either delivered or returned
#---the delay queue has more generous sendmail timeout settings
$QTOOL -e '$msg{num_delivery_attempts} > 1' $DELAYQUEUE $FASTQUEUE
$QTOOL -e '$msg{num_delivery_attempts} > 3' $DELAYQUEUE $SLOWQUEUE
So the idea of kicking my slowq or delayq sounds like it will defeat my
plan.
Is there a list archive for the beta list someplace that I can go look
at?
Jeff Earickson
Colby College
More information about the MailScanner-Beta
mailing list