complaint from 4.68.4 (now 4.68.5)

Julian Field MailScanner at ecs.soton.ac.uk
Tue Mar 18 18:49:40 UTC 2008


I have found a couple of little problems in CustomConfig.pm.
Replace yours with the one attached (diff first for any additions you 
have made yourself).
When testing the IPBlock stuff, you need to put the conf file on the 
command-line (MailScanner --lint will normally do this for you, but 
you'll have to "MailScanner --lintlite /etc/MailScanner/MailScanner.conf").


Jeff A. Earickson wrote:
> On Tue, 18 Mar 2008, Julian Field wrote:
> Julian,
>
> Ok, nevermind about hostname, I just saw the "perl -wc" complaint and
> wondered...
>
>>> 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?
>
> The burning question for me right now...  ???!!
>
> Here's the "perl -wc" complaints I see right now:
>
> (190)> perl -wc CustomConfig.pm
> Unquoted string "hostname" may clash with future reserved word at 
> CustomConfig.pm line 300.
> Parameterless "use IO" deprecated at CustomConfig.pm line 749
> "my" variable $LimitsH masks earlier declaration in same scope at 
> CustomConfig.pm line 796.
> Use of implicit split to @_ is deprecated at CustomConfig.pm line 822.
> Use of implicit split to @_ is deprecated at CustomConfig.pm line 838.
> CustomConfig.pm syntax OK
> (191)> perl -wc Config.pm
> Useless use of hash element in void context at Config.pm line 892.
> Use of implicit split to @_ is deprecated at Config.pm line 2066.
> Name "MailScanner::Config::ConfFile" used only once: possible typo at 
> Config.pm line 806.
> Config.pm syntax OK
>
> Jeff Earickson

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: CustomConfig.pm.gz
Type: application/gzip
Size: 14564 bytes
Desc: not available
URL: <http://lists.mailscanner.info/pipermail/mailscanner-beta/attachments/20080318/0f9d8607/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 252 bytes
Desc: not available
URL: <http://lists.mailscanner.info/pipermail/mailscanner-beta/attachments/20080318/0f9d8607/attachment.sig>


More information about the MailScanner-Beta mailing list