I am working on a listserv type application using
procmail that will scan an incoming message and,
assuming that a pre-determined authorization code
is found in the header, the message will be resent
to everyone on list "a" or whatever the corresponding
list might be.
For a very short list of names we could, of course,
use:
! person1 person2 person3 ...
But for a large list, this is not practical, and
neither is:
*0
| formail -a "X-Loop: Mysite.COM" \
-a "Bcc: person1(_at_)site1(_dot_)com" \
-a "Bcc: person2(_at_)site2(_dot_)com" \
-a "Bcc: person3(_at_)site3(_dot_)com" \
...etc...
| $SENDMAIL -t
Is there a simple recipe that would import or cat a
local file file with this pure text formatting:
Bcc: person1(_at_)site1(_dot_)com
Bcc: person2(_at_)site2(_dot_)com
Bcc: person3(_at_)site3(_dot_)com
...etc...
so that the many -a "Bcc: " lines in the .procmailrc
recipe file can be avoided?
Any help would be greatly appreciated!
Regards,
Lisa Kraft
_________________________________________________________________
VIRTUAL PLANET "Building a better world, a brighter future"
Virtual University :: Virtual Free Press :: New World Highway
http://horizons.org/ spectrum(_at_)horizons(_dot_)org FAX (818) 834-8221
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~