<div class="gmail_quote">2012/9/4 Thomas Sibley <span dir="ltr"><<a href="mailto:trs@bestpractical.com" target="_blank">trs@bestpractical.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Unrelated notes about your template below.<br>
<br>
Hmm.  Can you wrap /usr/sbin/sendmail with a tiny shell script that<br>
tee's the input somewhere else and then passes it through to the real<br>
sendmail?<br>
<br>
mv -v /usr/sbin/sendmail{,.real}<br>
cat /usr/sbin/sendmail<br>
#!/bin/bash<br>
exec tee -a /tmp/sendmail-stdin | /usr/sbin/sendmail.real "$@"<br>
^D<br>
chmod a+rx /usr/sbin/sendmail<br></blockquote><div><br>Well! Very, very strange behaviour that I can't explain : the /tmp/sendmail-stdin filled by tee is fulfilled all the time, but when I encounter the bug, nothing appear in the file!<br>
<br>For example, at the very same moment, in /var/log/maillog, I have the following :<br>============<br>Sep  5 19:11:10 dgilx202 postfix/smtpd[7412]: connect from unknown[10.223.2.22]<br>Sep  5 19:11:10 dgilx202 postfix/smtpd[7412]: 0F18F25E10: client=unknown[10.223.2.22]<br>
Sep  5 19:11:10 dgilx202 postfix/cleanup[7416]: 0F18F25E10: message-id=<<a href="mailto:4D44666F4F0B2248A2C57DD0AF573F930ECD1D21@PLA122VS151.fr.myfirm.org">4D44666F4F0B2248A2C57DD0AF573F930ECD1D21@PLA122VS151.fr.myfirm.org</a>><br>
Sep  5 19:11:10 dgilx202 postfix/qmgr[1793]: 0F18F25E10: from=<<a href="mailto:raphael.berlamont@myfirm.fr">raphael.berlamont@myfirm.fr</a>>, size=1803, nrcpt=1 (queue active)<br>Sep  5 19:11:10 dgilx202 postfix/smtpd[7412]: disconnect from unknown[10.223.2.22]<br>
Sep  5 19:11:10 dgilx202 postfix/sendmail[7441]: fatal: <a href="mailto:rt-test@myfirm.fr">rt-test@myfirm.fr</a>(48): No recipient addresses found in message header<br>Sep  5 19:11:10 dgilx202 postfix/local[7417]: 0F18F25E10: to=<<a href="mailto:RT-Test@rt.myfirm.com">RT-Test@rt.myfirm.com</a>>, relay=local, delay=0.6, delays=0.02/0/0/0.58, dsn=2.0.0, status=sent (delivered to command: /opt/rt4/bin/rt-mailgate --queue 'Test Queue' --action correspond --url <a href="https://rt.myfirm.com">https://rt.myfirm.com</a>)<br>
Sep  5 19:11:10 dgilx202 postfix/qmgr[1793]: 0F18F25E10: removed<br>============<br><br>But nothing appeared in "/tmp/sendmail-stdin"...<br><br>I've done the test 3 times, same result : logs appears in "/var/log/maillog", and nothing in "/tmp/sendmail-stdin". I don't even understand how can this be possible...<br>
<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
On 09/04/2012 09:30 AM, Raphaël Berlamont wrote:<br>
> New template i've set up, very basic though (sorry, French here ;)) :<br>
> =================<br>
> Subject: {$Ticket->Subject} : pris en charge par { $Ticket->OwnerObj->Name }<br>
> Bonjour,<br>
<br>
</div>The lack of a blank line between your header block (containing Subject:<br>
...) and the body of your message "Bonjour," is going to cause problems.<br>
 "Bonjour," is going to be parsed as a header.  You should put a blank<br>
line between the two lines above.<br></blockquote><div><br>Thank you, I corrected this. <br></div></div><br>-- <br>Raphaël Berlamont<br>