If I call procmail like this:
procmail -m /my/script rcpt1 rcpt2 rcpt3 rcpt4 rcpt5
How can access the whole argument string? After changeing the message, I
want to be able to resent the message using sendmail.
I was thinking something like this might work:
/my/script:
:0
! -oi -f root(_at_)machine $@
but the $@ does not expand. Alternalty I think the SHIFT should work
but I guess I would need some sort of loop to shift though the
arguments.
---
Tony Jago, System Administrator, E-Mail:
T(_dot_)Jago(_at_)fit(_dot_)qut(_dot_)edu(_dot_)au
Faculty of Information Technology, Web: http://www.fit.qut.edu.au/staff/~tony
Queensland University of Technology.
Box 2434, Brisbane 4001, AUSTRALIA. "We need more horsepower!"
Phone: +61 7 3864-2573 Fax: +61 7 3864-1959