greyscanner syntax error

2008-02-18 Thread Jeff Santos
Hi,

I am trying to use the greyscanner within my anti-spam firewall.

I installed some of the mentioned packages:

# pkg_info
gettext-0.14.6p0GNU gettext
libiconv-1.9.2p3character set conversion library
logsentry-1.1.1p2   logfile auditing tool
lsof-4.77p0 list information about open files
p5-Digest-HMAC-1.01p0 interface to HMAC Message-Digest Algorithms
p5-Digest-SHA1-2.11p0 module to calculate SHA1 digests
p5-Email-Valid-0.176p0 Check validity of Internet email addresses
p5-Mail-Tools-1.74  modules for handling mail with perl
p5-Net-DNS-0.60 module to interface the DNS resolver
p5-Net-IP-1.25p0perl module for IPv4/IPv6 address parsing
tcsh-6.15.00extended C-shell with many useful features
wget-1.10.2p0   retrieve files from the web

I copied the greyscanner exactly as it is in the site.

But whenever I try to run it, I get an error:


# ./greyscanner.41
syntax error at ./greyscanner.41 line 199, near local_r
ules
syntax error at ./greyscanner.41 line 376, near }
Execution of ./greyscanner.41 aborted due to compilation errors.

Am I using the wrong version of any package or the wrong
greyscanner script?

Thanks in advance.

Regards,

Jeff.


--
Want an e-mail address like mine?
Get a free e-mail account today at www.mail.com!



Re: greyscanner syntax error

2008-02-18 Thread Jeff Santos
Hi,

I did forget to mention I am running 4.2 STABLE on a
i386 machine.

Regards,

Jeff.

OpenBSD 4.2-stable (GENERIC) #0: Wed Dec 12 16:32:58 BRT 2007
OpenBSD.i386

--
Want an e-mail address like mine?
Get a free e-mail account today at www.mail.com!



Re: greyscanner syntax error

2008-02-18 Thread Alexander Hall

Jeff Santos wrote:

Hi,

I am trying to use the greyscanner within my anti-spam firewall.



# ./greyscanner.41
syntax error at ./greyscanner.41 line 199, near local_r
ules
syntax error at ./greyscanner.41 line 376, near }
Execution of ./greyscanner.41 aborted due to compilation errors.

Am I using the wrong version of any package or the wrong
greyscanner script?


Sounds like you copy+pasted it from somewhere (the browser?) and got 
some bonus linebreaks. Use your browsers functionality to save the file 
to disc directly instead (or note the url and use ftp(1)).


/Alexander