breakage between 4.68.5 and 4.68.8

Julian Field MailScanner at ecs.soton.ac.uk
Wed Apr 2 17:22:29 UTC 2008


This is fixed for the next release.

A suitable patch for your CustomConfig.pm is this:

---- SNIP ----
--- CustomConfig.pm    2008-03-24 13:07:46.000000000 +0000
+++ /tmp/CustomConfig.pm    2008-04-02 19:24:49.000000000 +0100
@@ -765,6 +765,7 @@
 
 my $ConfFile = $ARGV[0];
 $ConfFile = $ARGV[1] if $ConfFile =~ /^-+/i;
+$ConfFile = '/etc/MailScanner/MailScanner.conf' unless $ConfFile && -f 
$ConfFile;
 
 my ($AccessDB, $Refusal, $my_mta); # Generalized here for Multiple MTA 
support
 $my_mta = lc(MailScanner::Config::QuickPeek($ConfFile, 'mta')) if 
$ConfFile &&
---- SNIP ----

(The location is customised for the tar release so it gets the correct 
path under /opt and doesn't use /etc)

Best regards,
Jules.


Julian Field wrote:
> Put the location of the MailScanner.conf on the command-line and it 
> should be happier.
> At that point it doesn't know where the conf file is.
> I'll try to sort this for the next release.
>
>
> Jeff A. Earickson wrote:
>> On Tue, 1 Apr 2008, Julian Field wrote:
>>
>>>
>>> Are you using IPBlock anywhere in your MailScanner.conf file?
>>
>> Yes, relevent parts of MailScanner.conf:
>>
>> MTA = sendmail
>> Sendmail = /usr/lib/sendmail
>> Sendmail2 = /usr/lib/sendmail
>> Always Looked Up Last = &IPBlock
>>
>> Obviously sendmail is there:
>>
>> (38)> ls -l /usr/lib/sendmail
>> -r-xr-sr-x   1 root     smmsp    1227724 Nov 19 07:23 /usr/lib/sendmail
>>
>>> If so, the result is quite correct, it's only implemented for 
>>> postfix and sendmail.
>>> If you're not, please do a "MailScanner --lintlite" and tell me 
>>> everything it outputs (if anything).
>>
>> (2)> ./MailScanner --lintlite
>> IPBlock Currently not supported for your MTA  at 
>> /opt/MailScanner/lib/MailScanner/CustomConfig.pm line 789
>>
>>> What MTA are you using?
>>
>> My setup: Solaris 10, sendmail, current SA release, etc.  We had issues
>> with IPBlock in the early beta releases of 4.68, got things fixed by
>> 4.68.5, I didn't get a chance to test the last beta on 3/31, and here
>> we are.  "diff" says there are no diffs between the 4.68.5 and 4.68.8
>> versions of CustomConfig.pm, other than the RCS version number (3638 vs
>> 3657).
>>
>> Jeff Earickson
>> Colby College
>
> Jules
>

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


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the MailScanner-Beta mailing list