Losing last line oddity

OK, here’s a weird one. We’re using 2.0.15 on Perl 5.6.1, with postfix 2.0.3.
Whenever I send out replies to tickets, the last line is chopped off the
email; it’s kept in the database just fine and appears on the web interface,
but it doesn’t get sent out. I’ve tried this both with sendmail and
sendmailpipe transports.

Anyone seen this?

“A few hours later, I’m on the administrative floor, and a secretary asks me
about some mail I sent that had [scrambled double-byte characters] in it.
While I do use a Japanese-patched Mutt at work, I’ve never had any instance of
it sending scrambled characters, so I went over to her machine to take a look:
[…] it was my sendmail.cf” - Jonathan Byrne.

Simon Cozens wrote:

OK, here’s a weird one. We’re using 2.0.15 on Perl 5.6.1, with postfix 2.0.3.
Whenever I send out replies to tickets, the last line is chopped off the
email; it’s kept in the database just fine and appears on the web interface,
but it doesn’t get sent out. I’ve tried this both with sendmail and
sendmailpipe transports.

What happens if you add a blank line to the end of the template(s)
involved? What’s the underlying MTA?
�|� Request Tracker... So much more than a help desk — Best Practical Solutions – Trouble Ticketing. Free.

Phil Homewood:

What happens if you add a blank line to the end of the template(s)
involved? What’s the underlying MTA?

Adding a blank line works, in that the whole content comes through, although
the blank lines are trimmed. We’re using postfix.

int three = 128+64, two = 128, one=64;
- plan9 has a bad day

Simon Cozens wrote:

Adding a blank line works, in that the whole content comes through, although
the blank lines are trimmed. We’re using postfix.

OK, so the text is coming out of the database fine, but
either the MTA or the tools talking to it are eating the
last line.

You said you had the same results with sendmail and sendmailpipe?
I can’t duplicate this using Sendmail.

Try replacing /path/to/sendmail with a wrapper that logs exactly
what it’s passed. Is the last line making it to sendmail?
�|� Request Tracker... So much more than a help desk — Best Practical Solutions – Trouble Ticketing. Free.

I think I had the same problem at some point. If I recall correctly I
had to back out one of the mail related .pm’s to fix it. That was a
while ago tho so you might want to make sure that you are on the latest
version of everything first. Sorry my memory isn’t better :frowning:

Simon Cozens wrote: