Startup errors after major upgrade

G. Armour Van Horn vanhorn at whidbey.com
Wed Apr 29 04:05:49 IST 2009


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/Config.pm line 1472
Remember to separate fields with tab characters! at 
/usr/lib/MailScanner/MailScanner/Config.pm 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 
ClickAndPledge.com
allow   \.[a-z][a-z0-9]{2,3}\s*\.[a-z0-9]{3}$   Found possible filename 
hiding


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):

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 whidbey.com
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

-- 
----------------------------------------------------------
Sign up now for Quotes of the Day, a handful of quotations
on a theme delivered every morning.
Enlightenment! Daily, for free! 
mailto:twisted at whidbey.com?subject=Subscribe_QOTD

For photography, web design, hosting, and maintenance, 
visit Van's home page: http://www.domainvanhorn.com/van/
-----------------------------------------------------------



More information about the MailScanner mailing list