breakage between 4.68.5 and 4.68.8

Jeff A. Earickson jaearick at colby.edu
Thu Apr 3 17:21:04 UTC 2008


Julian,

Put in your fix, still no go.  It still whines like before:

(56)> ./MailScanner --lintlite
IPBlock Currently not supported for your MTA  at 
/opt/MailScanner/lib/MailScanner/CustomConfig.pm line 790

Is this an installation/path related issue?  Each release of
MailScanner is installed into /opt using your install.sh script,
so installations look like:

lrwxrwxrwx   1 root     other         20 Apr  3 13:07 MailScanner -> MailScanner-4.67.6-1
drwxr-xr-x   7 root     root         512 Mar  7 10:36 MailScanner-4.67.6-1
drwxr-xr-x   7 root     root         512 Mar 18 08:26 MailScanner-4.68.5-1
drwxr-xr-x   7 root     root         512 Apr  1 11:28 MailScanner-4.68.8-1

Yes, I do have an /etc/MailScanner directory:

drwxr-xr-x   2 root     other        512 Jul 24  2006 images
-rw-r--r--   1 root     other       4879 Mar 17 09:21 IPBlock.conf
-rw-r--r--   1 root     other       5943 Mar 12 10:00 IPBlock.conf.last
drwxr-xr-x   2 root     other       1024 Sep 10  2007 reports
drwxr-xr-x   2 root     other        512 Apr  1 09:32 rules
drwxr-xr-x   2 root     other        512 Sep 20  2007 rulesdujour

But the MailScanner.conf file that I always use is:

/opt/MailScanner/etc/MailScanner.conf  (follows the symlink)

Like I said, things worked with the 4.68.5 beta but broke with 
4.68.8.  I'm running 4.67.6 right now.

BTW, when I was running 4.68.5 instead 4.67.6, my system load seemed
to be a lot lower on the box.  Did you make some magic general
performance improvement?

Jeff Earickson
Colby College

On Wed, 2 Apr 2008, Julian Field wrote:

> Date: Wed, 02 Apr 2008 18:22:29 +0100
> From: Julian Field <MailScanner at ecs.soton.ac.uk>
> Reply-To: MailScanner Beta-testers <mailscanner-beta at lists.mailscanner.info>
> To: MailScanner Beta-testers <mailscanner-beta at lists.mailscanner.info>
> Subject: Re: breakage between 4.68.5 and 4.68.8
> 
> 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.
>
> -- 
> MailScanner-Beta mailing list
> mailscanner-beta at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner-beta
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>



More information about the MailScanner-Beta mailing list