Hi all, again sorry for my English. I have a problem with vbox that I cannot solve. I tried earlier and did get a little further. But: I still get an error in the vboxgetty*.log files that there is a "General TCL problem line 40" It isn't actually line 40 because line 40 is this if { "$vbox_flag_record" == "TRUE" } { I presume that line 40 just starts here and all that follows is still line 40 until the last "}" The problem must be in the vboxmail script that I use. Funny thing is that if I call it directly it works, but it won't from the tcl script. Here's the vboxmail script I use #! /bin/sh # vboxmime zum Anhaengen der Audio Datei im # Sun-Audio Format # PATH="${PATH}:/usr/bin/:/usr/local/bin" BASENAME="`basename $0`" SAMPLE="${1}" CALLER="${2}" NUMBER="${3}" MAILTO="${4}" if [ "${MAILTO}" = "" ] then echo "${BASENAME}: Can't find email address to mail message." exit fi if (test -f "${SAMPLE}") then vboxtoau <${SAMPLE} >/tmp/vbox.au /usr/bin/sox -v5 /tmp/vbox.au /tmp/vbox.wav (MIMEBOUNDARY="NextPart$$" echo "MIME-Version: 1.0" echo "Content-type: Multipart/Mixed; Boundary=\"$MIMEBOUNDARY\"" echo "to: ${MAILTO}" echo "from: vbox" echo "Subject: Oproep van ${NUMBER} (${CALLER})" echo "" echo "--$MIMEBOUNDARY" echo "Content-type: text/plain; charset=US-ASCII" echo "" echo "Bericht op antwoordapparaat" vboxmode $SAMPLE echo "" echo "--$MIMEBOUNDARY" echo "Content-type: audio/x-wav; name=vbox.wav" echo "Content-description: Audio-file (wav)" echo "Content-Transfer-Encoding: base64" echo "Content-Disposition: attachment; filename=vbox.wav" echo "" recode data..base64 /tmp/vbox.wav cat /tmp/vbox.wav 2>/dev/null echo "" echo "" echo "--$MIMEBOUNDARY--" ) | 2>&1 sendmail -fvbox -i $MAILTO fi #end When I comment out the line in the standard.tcl script exec -- $vbox_var_bindir/vboxmail "$VBOX_NEW_MESSAGE" "$vbox_caller_name" "$vbox_caller_id" _ "$vbox_user_name" then there is no more error message. Nor is there an error message when I use the vboxmail script. So I conclude it must be the vboxmail script that I use. But if I call the script directly i.e. vboxmail vboxmessagefile test testnumber username it works fine So what can I do to get the script working from the TCL-script. Anybody?