It seems that the parser is too old (20 years?) in procmail. The solution is to put a "; :" at the end of the command so we need to change from
LENGTH=`echo ${#VAR}`
to
LENGTH=`echo ${#VAR} ; :`
which execute directly
bash -c "echo ${#VAR}"
and then it works. Since AFAIK ${#VAR} is POSIX, I think,
this should be noted in the "procmailrc" or "procmailex" manpage.
Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
+49/177/9351947 50, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
signature.pgp
Description: Digital signature

