Subject Text Not Getting Modified?

Julian Field MailScanner at
Wed Aug 1 20:50:16 IST 2007

Hash: SHA1

Johnny Stork wrote:
> Yes I did run the "upgrade_MailScanner_conf" and followed the instr. 
> But I seem to recall not running that languages one, and cant seem to 
> now since I dont see an " languages.conf.rpmnew" in 
> /etc/MailScanner/reports/en.
> I didnt know about"MailScanner --lint" ...but below is the output. I 
> can certainly fix the first error.
> The main questions I have are....
> 1: Whether I should use both sa_update and RDJ
sa-update preferably. Search the mailing list archive for "HOWTO" in the 
subject line, and you'll find the docs explaining how to do it.
> 2: If either are setup correctly.
sa-update will put the new rules elsewhere (i.e. not in 
/etc/mail/spamassassin). Don't worry, SpamAssassin will find them.
Take a look in /etc/cron.daily and check the code at the top of 
update_spamassassin and clean.quarantine to make sure they aren't 
disabled. It's obvious, don't worry.

> 3: Do I have a reasonably optimized/configured setup with proper 
> RBLS's and rules all setup
> root at gateway:/etc/MailScanner/reports/en# MailScanner --lint
> Checking version numbers...
> Version number in MailScanner.conf (4.62.9) is correct.
> ERROR: The "envelope_sender_header" in your spam.assassin.prefs.conf
> ERROR: is not correct, it should match 
> X-Johnny_Storks_Home_Page-MailScanner-From
> Checking for SpamAssassin errors (if you use it)...
> SpamAssassin temp dir = /var/spool/MailScanner/incoming/SpamAssassin-Temp
> SpamAssassin reported no errors.
> MailScanner.conf says "Virus Scanners = clamd"
> Found these virus scanners installed: clamavmodule, clamd
> ===========================================================================
> Ignore errors about failing to find EOCD signature
> format error: can't find EOCD signature
>  at /usr/sbin/MailScanner line 450
> ===========================================================================
> Virus Scanner test reports:
> Clamd said " was infected: Eicar-Test-Signature FOUND"
> If any of your virus scanners (clamavmodule,clamd)
> are not listed there, you should check that they are installed correctly
> and that MailScanner is finding them correctly via its 
> virus.scanners.conf.
> Julian Field wrote:
>> Hash: SHA1
>> Have you run "upgrade_MailScanner_conf" and "upgrade_languages_conf" and 
>> "MailScanner --lint" ?
>> Johnny Stork wrote:
>>> Sorry for my ignorance, I had setup MS over a year ago and after 
>>> spending some time setting it up to where I "beleive" I had everything 
>>> workin, I have not really touched it since. So after getting CRM114 
>>> installed I went and upgraded to the newest version.
>>> So I went and ran the install-Clam-0.91.1-SA-3.2.2.tar.gz to also 
>>> update clam and SA. They were not that far behind. When this upgrade 
>>> finished, since I had been running rulesdujour, when it finished the 
>>> script indicated I needed to install rulesdujour. But I also just 
>>> heard that RDJ is not longer working/supported and I should use 
>>> sa_update so this was my first bit of confusion.
>>> So I downloaded the latest rulesdujour and ran the installer but it 
>>> bailed claiming lint errors. I managed to find these as outdated cf 
>>> files (rules) and so was able to finish the RDJ install. I also 
>>> noticed that all the cf files in /etc/mail/spamassasin got moved to 
>>> /etc/mail/spamassasin/old_cf_files?
>>> I then ran the mailscanner install to upgrade to4.62.9.
>>> At this point I am not certain I have everything configured and 
>>> working properly and dont know where to begin cleaning things up. I 
>>> would not expect anyone to help with this cause it is certainly my 
>>> mess. It is running, and seems to be working but I am not certain I 
>>> have things like RDJ and/or sa_update working correctly or which rules 
>>> are valid. If you would be willing/interested in taking a look I would 
>>> be greatful. You have already been a great help so I would not expect 
>>> any more.
>>> I do see many new items/rules etc and a couple of strange errors in 
>>> the lint test though. Below is the lint:
>>> UxBoD wrote:
>>>> What rules do you have setup ?
>>>> Regards,
>>>> --[ UxBoD ]--


- -- 
Julian Field MEng CITP
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
For all your IT requirements visit

Version: PGP Desktop 9.6.2 (Build 2014)
Charset: ISO-8859-1


This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit

More information about the MailScanner mailing list