Hi there,
I have a CGI script which creates an autoresponder for every member in its
database. For some customers, there are probably going to be thousands of
members. Each member gets a free autoresopnder,
USERNAME(_at_)mydomain(_dot_)com(_dot_)
Here's an example of the few lines which the script writes to the
.procmailrc file for each member:
===============================
#mwatkins(_at_)mydomain(_dot_)com
:0
* ^To:(_dot_)*mwatkins(_at_)mydomain(_dot_)com
{
FROM=`formail -rtzxTo:`
SUBJECT=`formail -rtzxSubject:`
TO=`formail -tzxTo:`
:0i
| /usr/www/mysite/cgi-bin/process.pl
}
#mwatkins(_at_)mydomain(_dot_)com
=============================
Since every recipe is EXACTLY the same for every member except for the
condition, I was wondering if it's possible to have one recipe in the
.procmailrc file to handle all members, then have all of the addresses for
the autoresponders stored in a text file, so I could have just one condition
like:
* To:.*`cat addresses.txt`
Is there anyway to do this?
Thanks alot,
Mike Watkins