>>> I just mean that using lsearch, a linear search on an unordered plain text
>>> file, is algorithmically inefficient, since it will always work its way
>>> painstakingly through your 2M file, and on average inspect 1M of it!
>>
>> You are right but thats not his use case :) The file in question is the
>> list of target addresses, it isn't searched.
>
> My bad; I thought his local_parts=lsearch;/file was the 2M file.
Tom is right on this one, likely due to my lack of clarification. We're
using exim for more of a distribution list server here, not as a
traditional MajorDomo or Mailman setup where list members can e-mail. We
just need a way to send out e-mail to our DynDNS users when we have system
status updates, announcement, newsletters, etc. (And its not spam, no, not
at all!)
So, Tom's suggestion fixes the problem, cool. Back to my original
followup: is this the best way to do it? (using a redirect router with a
large redirection file, having exim re-write envelope-from for VERP) Or
should we be manually submitting each message to exim for delivery,
pre-VERP'ed, etc?
Mailman and MajorDomo are not options here, they are just way too
heavyweight for this application.
--
Thomas J. Daly
tom@???
Dynamic Network Services, Inc.
http://www.dyndns.com/