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