complaint from 4.68.4 (now 4.68.5)
Julian Field
MailScanner at ecs.soton.ac.uk
Tue Mar 18 18:18:28 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jeff A. Earickson wrote:
> On Tue, 18 Mar 2008, Julian Field wrote:
>> Jeff A. Earickson wrote:
>>> Julian,
>>>
>>> I just installed and tested 4.68.5-1. Slightly different result, but
>>> more or less the same complaint:
>>>
>>> (65)> ./MailScanner --lint
>>> Trying to setlogsock(native)
>>> Read 814 hostnames from the phishing whitelist
>>> Read 4587 hostnames from the phishing blacklist
>>> Config: calling custom init function IPBlock
>>> Could not use Custom Function code
>>> MailScanner::CustomConfig::InitIPBlock, it could not be "eval"ed. Make
>>> sure the module is correct with perl -wc at
>>> /opt/MailScanner/lib/MailScanner/Config.pm line 873
>> You need to take a look at InitIPBlock in CustomConfig.pm, you have
>> something wrong there.
>
> Julian,
> Sorry to be dense here, but I don't how it could be me unless I mucked
> up the data file (and I don't see anything there). I haven't
> changed anything regarding IPBlock in a while, except for the actual
> /etc/MailScanner/IPBlock.conf data file. Is there any particular
> requirement on the white space in this file, eg:
>
> 127.0.0.1[something]100000
>
> Does [something] have to be a tab, or can it be any whitespace? My
> only other twiddles regarding IPBlock are in MailScanner.conf:
>
> Always Looked Up Last = &IPBlock
>
> And these minor changes to CustomConfig.pm:
>
> (176)> diff CustomConfig.pm.orig CustomConfig.pm
> 777c777
> < $AccessDB = "/etc/mail/access.db";
> ---
> > $AccessDB = "/etc/mail/db/access.db";
> 1703c1703
> < $AccessDB = "/etc/mail/access.db";
> ---
> > $AccessDB = "/etc/mail/db/access.db";
>
> And BTW, shouldn't line 300 of CustomConfig.pm have backticks, eg:
>
> 300c300
> < $hostname2 = hostname;
> ---
> > $hostname2 = `hostname`;
Indeed, yes I think it probably should. Have you done a 'perl -c
CustomConfig.pm' as that it what is complaining isn't right.
>
> to actually execute the hostname and assign it to the variable?
>
> Jeff Earickson
> Colby College
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
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.8.1 (Build 2523)
Comment: Use Thunderbird Enigmail to verify this message
Charset: ISO-8859-1
wj8DBQFH4Ad2EfZZRxQVtlQRApKIAJ9H2CWkIZGOOkFZ9P6yuU7CzK3OfgCgwekf
GoEkxKLeb5d6OYkCzXBVKx8=
=zwfT
-----END PGP SIGNATURE-----
--
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