oh ok
when i do '#perl openwebmail-tool.pl' i get the message i showed u before:
Bareword found where operator expected at openwebmail-tool.pl line 1, near "/bin/perl"
(Missing operator before perl?)
syntax error at openwebmail-tool.pl line 1, near "/usr/local"
"use" not allowed in expression at openwebmail-tool.pl line 8, at end of line
BEGIN not safe after errors--compilation aborted at openwebmail-tool.pl line 27.
these are the lines with errors apparently:
line 1: "/usr/local/bin/perl"
line 8: "if ( $0 =~ m!^(\S*)/[\w\d\-\.]+\.pl! ) { local $1; $SCRIPT_DIR=$1 }
if ($SCRIPT_DIR eq '' && open(F, '/etc/openwebmail_path.conf')) { "
PS: i do not have this file 'openwebmail_path.conf' ...dont know if i have to create it or it's missing...they didn't specify on the README what to do to have it.
line 27: foreach (qw(ENV BASH_ENV CDPATH IFS TERM)) {delete $ENV{$_}}; $ENV{PATH}='/bin:/usr/bin'; # s
ecure ENV
umask(0002); # make sure the openwebmail group can write
use strict;
use Fcntl qw(
EFAULT :flock);
use Net::SMTP;
hope this can help