I am calling procmail from a .qmail-default file with the following command:
|/var/qmail/bin/preline /usr/local/bin/procmail -f /usr/home/username/.procmailrc
I am testing several scripts that were from a different server that I do not have access to. The .procmailrc file references a variable passed to it ($1), but qmail isn't passing it anything.
I would like to have qmail pass along the local-part of the email address to Procmail so that I do not have to rework the script. I suspect this is something that is fairly simple, but I do not know how to do.