Re: [exim] FAST QUEUE DELIVERY!!

Pàgina inicial
Delete this message
Reply to this message
Autor: Sam Michaels
Data:  
A: Sub Zero
CC: Exim Users
Assumpte: Re: [exim] FAST QUEUE DELIVERY!!
On 6/22/05, Sub Zero <SubZero@???> wrote:
> If you are sending the mails 1 recipients per 1 email then I'll suggest you
> to do:
>
> #!/bin/sh
> cd /var/spool/exim/input
> for msgid in `ls -R| awk -F - '{print $1"-"$2"-"$3}'`
> do
>         /usr/sbin/exim -v -M $msgid &
>         sleep 0.5
> done


I think it would be more appropriate to use exiqgrep so it won't pick
up orphaned input files (I have a bunch of them).

exiqgrep -i -x -r <mailinglist@???> | xargs exim -M

-i = show only message ids
-x = don't select frozen messages (no sense in wasting time on known failures)
-r = select only emails with the sender as the address wrapped in <>

I agree with Tom though...let exim's internal queue functions handle
it since it's already doing whatever you'd be scripting and it works
in parallel.

Sam