yeah seems to be busy, and playing with his new toy Zend.to ;-)<br clear="all">-- <br>Martin Hepworth<br>Oxford, UK<br>
<br><br><div class="gmail_quote">On 17 October 2011 20:02, Scott Silva <span dir="ltr"><<a href="mailto:ssilva@sgvwater.com">ssilva@sgvwater.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
on 10/17/2011 9:18 AM --[ UxBoD ]-- spake the following:<div class="im"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
>From what I can see it is a trivial fix. In PFDiskStore.pm around line 359 it has:<br>
</blockquote>
<br>
printf $Tf "%15ld %15ld %15ld", $HeaderLength, $HeaderStartPos, $recipcounter;<br>
printf $Tf " %15ld", $message->{PostfixQmgrOpts}<br>
if $message->{PostfixQmgrOpts} ne "";<br>
seek $Tf, 0, 0;<br>
<br>
I believe this needs to become:<br>
<br>
printf $Tf "%15ld %15ld %15ld", $HeaderLength, $HeaderStartPos, $recipcounter;<br>
printf $Tf " %15ld", $message->{PostfixQmgrOpts}<br>
if $message->{PostfixQmgrOpts} ne "";<br>
printf $Tf " %15ld", $HeaderLength;<br>
seek $Tf, 0, 0;<br>
<br>
This then sets the actual content length in field 5 of the queue file. I am not sure why the line above is there though as Postfix.pm always appears to set PostfixQmgrOpts to at least zero:<br>
<br>
if (defined $numbers[3]) {<br>
$MailScanner::Postfix::<u></u>DataStructure = 1;<br>
$message->{PostfixQmgrOpts} = $numbers[3]+0;<br>
}<br>
<br>
I have tested this and it appears to work fine. Thoughts Jules or anybody else ?<br>
</blockquote></div>
I haven't seen a post from Julian in quite a while... I sure hope he is just busy...<div><div></div><div class="h5"><br>
<br>
<br>
<br>
-- <br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.<u></u>info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/<u></u>mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/<u></u>posting</a><br>
<br>
Support MailScanner development - buy the book off the website! </div></div></blockquote></div><br>