On Mon, 12 Jul 1999 13:19:29 -0400, "Russell D. Weiss"
<rweiss(_at_)inforelay(_dot_)com> wrote:
I'm working on a new system for which I need something pretty
unusual. I've setup sendmail with some wildcarding so that
anything(_at_)anything(_dot_)domain(_dot_)com goes through and is sent to
one user
account. That user account has procmail set to run in the .forward
file. Here's the catch, the .procmailrc file may contain hundreds
of thousands of recipes. While at first the number may be smaller,
it may grow to a very large size. So I did some testing. I made a
perl script to add these entries. While procmail DOES work to
handle forwarding for about 2,000,000 addresses in the
If you are actually attempting to do forwarding, you should probably
not throw Procmail into the equation at all.
You can probably do something like
:0
! `script $key`
where script is a Perl or shell script, or a dedicated program, which
returns the correct address for $key (which Procmail would somehow
grope out). If the key is straightforwardly deducable from the
address, as you imply, you should probably be using Sendmail's
built-in dbm features (if you are using Sendmail) and not invoke
Procmail for this at any rate.
See also <http://www.iki.fi/era/procmail/mini-faq.html#advanced>
that was released 1997/04/28, I believe. Are there newer ones that are
The newest Procmail is 3.13.1 which was released earlier this year.
You can find out your version number with procmail -v (I would suspect
you are running 3.11pre7).
Hope this helps,
/* era */
--
Too much to say to fit into this .signature anyway: <http://www.iki.fi/era/>
Fight spam in Europe: <http://www.euro.cauce.org/> * Sign the EU petition