@[deleted]: There is a section in that wiki page regarding mail delivery failed... does that apply?
http://osticket.com/wiki/Email_Piping#Mail_delivery_failed(http://osticket.com/wiki/Email_Piping#Mail_delivery_failed)
Mail delivery failed
If you have the error: 'Mail delivery failed: returning message to sender' but the user's email is still successfully processed.
You have some options
1. Update php.ini
/usr/local/lib/php.ini update: display_errors Off
restart apache
2. Update exim.conf:
Update /etc/exim.conf in the section:
address_pipe:
driver = pipe
return_output
virtual_address_pipe:
driver = pipe
group = "${lookup{$domain}lsearch* {/etc/userdomains}{$value}}"
return_output
user = "${lookup{$domain}lsearch* {/etc/userdomains}{$value}}"
Change return_output to return_fail_output
REASON: (from exim.conf comment)
If the pipe generates any standard output, it is returned to the sender of the message as a delivery error. Set return_fail_output instead of return_output if you want this to happen only when the pipe fails to complete normally. You can set different transports for aliases and forwards if you want to - see the references to address_pipe below.