HTML/Newsletters being received as unreadable code
--[ UxBoD ]--
uxbod at splatnix.net
Wed Feb 20 20:41:20 GMT 2008
Jules,
Is the danger though that if somebody has put in a space instead of say a '-' then MS would just continue on its merry way. Would it be better that MS does just not start, but reports out a error ?
You could even put in the error message the place in the documentation where it says how to set it correctly ;)
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
Steve Freegard wrote:
> Julian Field wrote:
>
>> When you run MailScanner --lint, a polite warning is already shown,
>> which I reckon is sufficient for that case. But when you run
>> MailScanner - --debug, there was no obvious warning, so now you get
>> this printed instead, which I think is obvious enough for nearly
>> everyone (the rows of "*"s are included in the output) :
>> ************************************************************************
>> In MailScanner.conf, your "%org-name%" or "Mail Header" setting
>> contains spaces and/or other illegal characters.
>>
>> Including any spaces will break all your mail system.
>>
>> Otherwise, it should only contain characters from the set a-z, A-Z,
>> 0-9 and "-". While theoretically some other characters are allowed,
>> many commercial mail systems fail to handle them correctly.
>>
>> This is clearly noted in the MailScanner.conf file, immediately above
>> the %org-name% setting. Please read the documentation!
>> ************************************************************************
>>
>> Clear enough for you? :-)
>
>
> As this still requires someone to run --lint to get this warning
> (which a newbie might skip) why not just do the equivalent of:
>
> $orgname =~ s/\s+/-/g
>
> That way they can't break their mail system accidentally.
I could, but what happens if they have upgraded their way from an early
version and don't use %org-name%? It really needs doing to a whole bunch
of settings which are used as header names.
I could try to find all the header settings and automatically apply it
to all of the headers, I'll take a look at doing that.
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
wj8DBQFHvI3VEfZZRxQVtlQRAnlbAJwNtOpFxs/voZG7Cs+sQiXPVblkhgCgzJ8G
bgeNkr/jRtEmqzAvoRO+A+w=
=seLu
-----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.
More information about the MailScanner
mailing list