<br><font size=2 face="sans-serif">Hi guys</font><br><br><font size=2 face="sans-serif">Thanks for the info, I corrected the
space between the org-name and this seemed to have solved the problem as
I tested it again and this time it was delivered correctly.</font><br><br><font size=2 face="sans-serif">Thanks for all the help! And yes, egg
on my face shall we say, I'll read the comments in the config more attentativly
from now on ;-)</font><br><br><font size=2 face="sans-serif">Kind Regards,</font><br><font size=2 face="sans-serif">Andrew<br></font><br><br><br><br><table width=100%><tr valign=top><td width=40%><font size=1 face="sans-serif"><b>&quot;--[ UxBoD ]--&quot;
&lt;uxbod@splatnix.net&gt;</b> </font><br><font size=1 face="sans-serif">Sent by: mailscanner-bounces@lists.mailscanner.info</font><p><font size=1 face="sans-serif">2008/02/20 06:04 PM</font><table border><tr valign=top><td bgcolor=white><div align=center><font size=1 face="sans-serif">Please respond to<br>MailScanner discussion &lt;mailscanner@lists.mailscanner.info&gt;</font></div></table><br><td width=59%><table width=100%><tr valign=top><td><div align=right><font size=1 face="sans-serif">To</font></div><td><font size=1 face="sans-serif">MailScanner discussion &lt;mailscanner@lists.mailscanner.info&gt;</font><tr valign=top><td><div align=right><font size=1 face="sans-serif">cc</font></div><td><tr valign=top><td><div align=right><font size=1 face="sans-serif">Subject</font></div><td><font size=1 face="sans-serif">Re: HTML/Newsletters being received
as unreadable code</font></table><br><table><tr valign=top><td><td></table><br></table><br><br><br><tt><font size=2>Jules,<br><br>perhaps MS should not even start if that is the case ?<br><br>Regards,<br><br>-- <br>--[ UxBoD ]--<br>// PGP Key: &quot;curl -s http://www.splatnix.net/uxbod.asc | gpg --import&quot;<br>// Fingerprint: F57A 0CBD DD19 79E9 1FCC A612 CB36 D89D 2C5A 3A84<br>// Keyserver: www.keyserver.net Key-ID: 0x2C5A3A84<br>// Phone: +44 845 869 2749 SIP Phone: uxbod@sip.splatnix.net<br><br>----- &quot;Julian Field&quot; &lt;MailScanner@ecs.soton.ac.uk&gt; wrote:<br><br>-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA1<br><br><br><br>Mark Sapiro wrote:<br>&gt; Steve Freegard wrote:<br>&gt;<br>&gt; &nbsp; <br>&gt;&gt; Andrew Chester wrote:<br>&gt;&gt; &nbsp; &nbsp; <br>&gt;&gt;&gt; X-Ukuvuma Solutions-MailScanner-From: support@kalahari.net<br>&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; <br>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^^^<br>&gt;&gt;<br>&gt;&gt; There's your problem - you have spaces in your %org-name% setting
in <br>&gt;&gt; MailScanner.conf.<br>&gt;&gt; &nbsp; &nbsp; <br>&gt;<br>&gt; While the space in %org-name% is wrong, it does not seem to be the<br>&gt; cause of the problem.<br>&gt;<br>&gt; Here's what I see in the last few headers and body:<br>&gt;<br>&gt; ---------------------------------------------------------------<br>&gt; content-transfer-encoding: base64<br>&gt; content-type: text/plain; charset=utf-8<br>&gt;<br>&gt; X-Ukuvuma Solutions-MailScanner-From: support@kalahari.net<br>&gt; X-Spam-Status: No<br>&gt;<br>&gt; X-Ukuvuma Solutions-MailScanner-From: support@kalahari.net<br>&gt; X-Spam-Status: No<br>&gt;<br>&gt; WW91ciBLYWxhaGFyaS5uZXQgcGFzc3dvcmQgaXMgODAwNjAwCi0tIApUaGlz<br>&gt; IG1lc3NhZ2UgaGFzIGJlZW4gc2Nhbm5lZCBmb3IgdmlydXNlcyBhbmQKZGFu<br>&gt; Z2Vyb3VzIGNvbnRlbnQgYnkgdGhlIFVrdXZ1bWEgQXBvbGxvIGdhdGV3YXkg<br>&gt; YW5kIGlzCmJlbGlldmVkIHRvIGJlIGNsZWFuLgoK<br>&gt; -----------------------------------------------------------------<br>&gt;<br>&gt; The two sets of MailScanner headers are curious, but it looks from
the<br>&gt; Received: headers that the message passed twice through<br>&gt; apollo.ukuvuma.co.za so it was probably scanned twice.<br>&gt;<br>&gt; The real problem is the empty lines preceeding each set of MailScanner<br>&gt; headers. This causes the MailScanner headers to be part of the body<br>&gt; which totally destroys the base64 encoding and results in the garbled<br>&gt; message.<br>&gt;<br>&gt; I suspect that all base64 encoded messages get garbled this way and<br>&gt; non-bas64 encoded messages show the MailScanner headers in the body.<br>&gt;<br>&gt; Perhaps someone with more MailScanner experience has a clue as to
why<br>&gt; the MailScanner headers are preceded by an empty line.<br>&gt; &nbsp; <br>It's probably the MTA (or MailScanner) attempting to render the message
<br>in a form correct for the next mail handling program it passes through.
<br>There should always be a blank line after the last header. But I don't
<br>guarantee what MailScanner will do if the headers end on an incomplete
<br>line, as it never happens in real mail that hasn't been screwed by <br>something (in your case, the space in %org-name%).<br><br>The point about spaces in %org-name% is very clearly documented in the
<br>MailScanner.conf file.<br><br>If you break that rule I make no guarantees what may happen to your mail.<br><br>I will add some more code to check for that and flag it very boldly in
<br>the logs, and ensure that MailScanner --debug and MailScanner --lint <br>check for it too.<br><br>Jules<br><br>- -- <br>Julian Field MEng CITP CEng<br>www.MailScanner.info<br>Buy the MailScanner book at www.MailScanner.info/store<br><br>MailScanner customisation, or any advanced system administration help?<br>Contact me at Jules@Jules.FM<br><br>PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654<br>PGP public key: http://www.jules.fm/julesfm.asc<br><br><br>-----BEGIN PGP SIGNATURE-----<br>Version: PGP Desktop 9.8.0 (Build 2158)<br>Comment: Use Thunderbird Enigmail to verify this message<br>Charset: ISO-8859-1<br><br>wj8DBQFHvE9LEfZZRxQVtlQRAsPEAKC3epcVVp8RrJAKRa0MNSqQK/yfZgCfQ1mD<br>/gzKDix5AGtCwHyCaIaL8vM=<br>=Wr2g<br>-----END PGP SIGNATURE-----<br><br>-- <br>This message has been scanned for viruses and<br>dangerous content by MailScanner, and is<br>believed to be clean.<br><br>--<br>MailScanner mailing list<br>mailscanner@lists.mailscanner.info<br>http://lists.mailscanner.info/mailman/listinfo/mailscanner<br><br>Before posting, read http://wiki.mailscanner.info/posting<br><br>Support MailScanner development - buy the book off the website!<br><br>-- <br>This message has been scanned for viruses and<br>dangerous content by MailScanner, and is<br>believed to be clean.<br><br><br><br>-- <br>This message has been scanned for viruses and<br>dangerous content by MailScanner, and is<br>believed to be clean.<br><br>-- <br>MailScanner mailing list<br>mailscanner@lists.mailscanner.info<br>http://lists.mailscanner.info/mailman/listinfo/mailscanner<br><br>Before posting, read http://wiki.mailscanner.info/posting<br><br>Support MailScanner development - buy the book off the website! <br><br>-- <br>This message has been scanned for viruses and<br>dangerous content by the Ukuvuma Apollo gateway and is<br>believed to be clean.<br><br></font></tt><br><font face="sans-serif"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Ukuvuma</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body link="#383838" vlink="#383838" alink="#383838">
<table width="100%" border="0">
  <tr> 
    <td><hr></td>
  </tr>
  <tr> 
    <td><div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="1">CONFIDENTIALITY CLAUSE</font></a></font></div></td>
  </tr>
  <tr> 
    <td><div align="center"><font color="#383838" size="1" face="Verdana, Arial, Helvetica, sans-serif">This message is intended only for the use of the individual or entity to
which it is addressed and contains information that is privileged and
confidential.  If the reader of this message is not the intended recipient,
or the employee or agent responsible for delivering the message to the
intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.  If
you have received this communication in error, please notify the sender by
telephone.</font></div></td>
  </tr>

<tr> 
    <td><div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="1">VERTROULIKHEIDSKLOUSULE
</font></a></font></div></td>
  </tr>
  <tr> 
    <td><div align="center"><font color="#383838" size="1" face="Verdana, Arial, Helvetica, sans-serif">Dié boodskap is slegs vir die gebruik van die individu of entiteit aan wie
dit gerig is en bevat streng vertroulike inligting.  Indien die leser nie
die voorgenome ontvanger is nie, of die werknemer of agent verantwoordelik
vir die lewering van die boodskap aan die voorgenome ontvanger nie, word u
hiermee meegedeel dat enige verspreiding of kopiëring van dié boodskap
streng verbode is.  Indien u die kommunikasie verkeerdelik ontvang het, stel
asseblief die afsender telefonies in kennis.</font></div></td>
  </tr>

  <tr> 
    <td><hr></td>
  </tr>
</table>
</body>
</html></font>