Problem with make_mailhost_script.pl in FAQ

Carl Boberg Carl.Boberg at NRM.SE
Tue Mar 30 08:49:10 IST 2004


Sorry about that,
Late in the day blindness is common :-)

If I run the script with -w I get repeating:
Use of uninitialized value in scalar chomp at ./make_mailhost.pl line 38.
Use of uninitialized value in hash element at ./make_mailhost.pl line 39.

I think it is something with the empty while () statement.
I tried it by putting the scalar in like so: while (%dupcheck)
That resulted in no errors but nothing got put in the mailhost file
except the top line: # Entries dynamically generated from whitelist-addresses.txt

I have checked all the paths to the files and everything checks out...

Best regards 
Carl

-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
Behalf Of Kevin Spicer
Sent: den 29 mars 2004 21:16
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: Problem with make_mailhost_script.pl in FAQ


On Mon, 2004-03-29 at 18:57, Carl Boberg wrote:
> I cant get the make_mailhost_script.pl in the MailScanner FAQ
> http://www.sng.ecs.soton.ac.uk/mailscanner/serve/cache/270.html
> to work, it´s some perl problems I can´t see...
>  
> I would like to have emailed this directly to Kevin Spicer but I do
> not have his emailaddress

Hmmm, you can't have looked in the archives (I post here occaisionally),
or indeed at the bottom of the FAQ!

Happy to help, but I'll need a few more details that 'it's some perl
problems'


Kevin




More information about the MailScanner mailing list