<br><br><div class="gmail_quote">On Mon, Aug 24, 2009 at 9:25 PM, Rich West <span dir="ltr"><<a href="mailto:Rich.West@wesmo.com">Rich.West@wesmo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
That works as expected in the development environment. However, in the<br>
production environment, it gives up after the first command.<br>
Interestingly, when viewing the email within the RT web UI, every line<br>
(when submitted via the web form) has an extra carriage return in it,<br>
causing a blank line between each line. When I select to download the<br>
message (with headers), the message looks correct. I'm not convinced<br>
that this symptom isn't a red herring, but I thought it was worth<br>
mentioning.</blockquote><div><br>Extra carriage returns is a bit of a red flag. <br><br>By chance, in your production environment are the emails being sourced from a windows client of some sort such that you get ^M^N end-of-line markers instead of ^N end-of-line markers (windows vs. unix)... <br>
<br>If you washed the emails through dos2unix before feeding them to the mail command handlers, I suspect things would work normally again. <br><br>Well.. maybe that's grasping at straws a little, but reading your email that's the first thing that came to mind for me. <br>
<br>-Rob<br><br></div></div>