I can't imagine any Tcl code in acs_mail_lite that would cause this.
Is there any chance this has to do with an externally executing program? Ie: what is the delivery method you use?
SMTP or exec an external program such as sendmail. Looks like sendmail, so are you using sendmail, postfix, qmail etc?