Startup errors after major upgrade

Julian Field MailScanner at
Wed Apr 29 09:26:39 IST 2009

On 29/04/2009 04:05, G. Armour Van Horn wrote:
> Okay, I just installed MailScanner 4.75.11 over an existing 
> installation, which was 4.57.6. When I restarted MS I got a few 
> complaints about spaces that should have been tabs in a couple of 
> domain-specific rule files, which I took care of.
> Well, I guess not. I'm still getting this one:
> Possible syntax error on line 14 of /etc/MailScanner/filename.tlc.conf 
> at /usr/lib/MailScanner/MailScanner/ line 1472
> Remember to separate fields with tab characters! at 
> /usr/lib/MailScanner/MailScanner/ line 1474
> Line 14 of that file is the "allow" line below, and the space after 
> allow and the space between $ and Found are both single tabs.
> # Allow all other double file extensions. Specifically for 
> allow   \.[a-z][a-z0-9]{2,3}\s*\.[a-z0-9]{3}$   Found possible 
> filename hiding
If you look at the other "allow" and "deny" lines, they have 2 strings 
after the regexp. Both of which, in an allow, are normally "-" as they 
are not used. But there must be **2* of them!

> The main problem, I think, is this one:
> Your setting "Mail Header" contains illegal characters.
> This is most likely caused by your "%org-name%" setting
> which must not contain any spaces, "." or "_" characters
> as these are known to cause problems with many mail systems.
> I believe these are the applicable lines out of MailScanner.conf:
> %org-name% = DomainVanHorn
> Mail Header = X-%org-name%-MailScanner(vanguard):
Are () brackets allowed in mail header names? I don't think they are.
> I sent myself a test message, and here is a chunk out of the source of 
> the message I got back:
> Subject: test
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
> X-DomainVanHorn-MailScanner-Information: Please contact the ISP for 
> more information
> X-DomainVanHorn-MailScanner-ID: n3T2mLYw025775
> X-DomainVanHorn-MailScanner(vanguard): Found to be clean
> X-DomainVanHorn-MailScanner-SpamCheck(vanguard): not spam,
>     SpamAssassin (not cached, score=-2.599, required 4,
>     autolearn=not spam, BAYES_00 -2.60)
> X-DomainVanHorn-MailScanner-From: vanhorn at
> X-Spam-Status: No
> X-WNSpam-Score: 6.3
> X-WNSpam-Int: 63
> X-Spambayes-Classification: ham
> X-Spambayes-Spam-Probability: 0.00 (7)
> X-Spambayes-MailId: 1240953637
> Odd that my server and SpamBayes both say it's clean, but my ISP 
> considered it spam (WNSpam at 6.3, on that system 3.5 is a good 
> default for the cutoff.) But the MS headers seem to be working 
> coherently, and without any spaces that I can see.
> Can these be ignored, or do I have to worry about them?
> Van


Julian Field MEng CITP CEng
Buy the MailScanner book at

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:
Follow me at

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