[rt-users] Autoreply: "can't build entity: no body, and not multipart"

Feargal Reilly feargal at thecia.ie
Fri Jan 11 08:06:45 EST 2008

Check that there is a blank line at the start of the Auto-Reply template.

If there's not, everything until the first blank line is treated as an 
email header.


At 08:18 11/01/02 +0000, Hunter, Jonathan wrote:
>I recently installed RT 2.0.10 (the latest at the time), and have so far 
>been very impressed with it. Unfortunately, last night I got a little 
>over-enthusiastic and decided to customise my templates and scrips a 
>little more. After doing this, and also making some permissions changes 
>within RT, something broke :-(
>Now, whenever a requestor emails RT to create a new ticket, they get an 
>email bounce similar to this, from Mailer-Daemon at rt-host :
>The following text was generated during the delivery attempt:
>------ pipe to |/home/rt/rt2/bin/rt-mailgate --queue tickets --action 
>can't build entity: no body, and not multipart
>------ This is a copy of the message, including all the headers. ------
>Despite the bounce, a new ticket is created successfully - but the 
>AutoReply template is never sent to the requestor, presumably due to the 
>error above. As far as I can tell, I've put all permissions back to the 
>way they were before - but the above error still occurs.
>I've searched the archives, and found the following, which seems to be a 
>similar problem:
>Unfortunately I don't know how to produce full debug logs similar to 
>Carl's in the message above. Is it as simple as adding "--debug" to the 
>commandline for rt?
>I am in the lucky position of not having any real data in my RT system 
>yet, so if needed I can simply blow away the database and start over. But, 
>I would much rather help track this bug down and solve it!
>I'm happy to email Jesse off-list and provide a login (RT and/or ssh) to 
>my RT system if that helps. I will also try some more things later on 
>today, and see if I can figure out where this error is coming from - I'll 
>post a reply to the list if I find anything.
>Oh, and I have looked at the ChangeLog for 2.0.11. I can't see anything 
>that obviously fixes the above problem. If I have missed it, then 
>apologies and I will upgrade to 2.0.11..
>Thanks for your help!
>rt-users mailing list
>rt-users at lists.fsck.com

More information about the rt-users mailing list