On Fri, 19 Oct 2001, Philip Guenther wrote:
Well, since your current setup won't work very well if a message is sent to two penpals lists---both of the .procmaillogrc invocations will extract the same listname from the header---so using a second line in the appropriate dot-qmail file is better than what you're doing now.
You can fix that extraction problem by passing the EXT variable as an argument to the rcfile. Change the preline entry to:
| preline $HOME/bin/procmail -m .procmaillogrc $EXT
The rcfile will then see it as $1. That only works with procmail versions 3.11pre4 and later, but anything before than is in desperate need of upgrading.
On a related note, I liked the idea of using $EXT to write the many .qmail-john-zu-chi files files I have this way: | preline $HOME/.bin/flist $EXT rather than to generate a different | preline $HOME/.bin/flist john-zu-chi each time, for each of the hundred lists. The names had to be changed for each list. But I just found lots of emails that never made it to the lists in .etc/request, with the diagnostic message: X-Diagnostic: Non-existent mailinglist Tomoe-jing-yi The $EXT was passing on the case that the senders had chosen to use, after qmail had been nice enough to ignore the case finding the right dot-qmail file!! I have to rip out all of those $EXT and put back in the real name of the lists in those dot-qmail files. -- Greg Matheson Those who can do. Chinmin College Those who can't teach. --G B Shaw Taiwan Penpals Archive <URL: http://netcity.hinet.net/kurage>