James Raney <mlists(_at_)mad-seumas(_dot_)net> writes:
...
should drop a whitespace split list of the args into $ARGS. I try that in
my script as:
:0 ir
RECIPIENT=|echo "$@"
LOG="RECIPIENTS: $RECIPIENT
"
The log file gives me this:
procmail: Assigning "RECIPIENT="
procmail: Executing "echo,"
procmail: Assigning "LOG=RECIPIENTS:
"
RECIPIENTS:
Which leads me to think that either postfix isn't passing the variable
correctly in the arg list or that procmail isn't working the way I
thought. I wrote another shell script that simply prints the args to a
temp file and ran that as the pipe tranport command. The args showed up
in it so it seems postfix is passing/expanding the recipients list
correctly.
By any chance, are you using procmail version 3.10? That version failed
to use the extra arguments to -m to set $@ and the number variables ($1,
$2, etc).
Philip Guenther
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail