Hello, Yesterday I installed qmail-scanner (after amavis :)) I had one problem with the install. The install procedure I did:
./configure --notify sender,recips,admin --log-details yes --lang ennl_NL --add-dscr-hdrs yes ./configure --notify sender,recips,admin --log-details yes --lang ennl_NL --add-dscr-hdrs yes --install Then I get an error when execute the perl script: --------------------- Hit RETURN to create initial directory structure under /var/spool/qmailscan, and install qmail-scanner-queue.pl under /var/qmail/bin: Bareword found where operator expected at /var/qmail/bin/qmail-scanner-queue.pl line 1261, near "/lib/perl5" (Missing operator before perl5?) String found where operator expected at /var/qmail/bin/qmail-scanner-queue.pl line 1262, near "cc='cc', ccflags ='-DAPPLLIB_EXP="" (Might be a runaway multi-line "" string starting on line 1261) (Missing semicolon on previous line?) Bareword found where operator expected at /var/qmail/bin/qmail-scanner-queue.pl line 1262, near "/lib/perl5" (Missing operator before perl5?) String found where operator expected at /var/qmail/bin/qmail-scanner-queue.pl line 1263, near "cppflags='-DAPPLLIB_EXP="" (Might be a runaway multi-line "" string starting on line 1262) (Missing semicolon on previous line?) Bareword found where operator expected at /var/qmail/bin/qmail-scanner-queue.pl line 1263, near "/lib/perl5" (Missing operator before perl5?) String found where operator expected at /var/qmail/bin/qmail-scanner-queue.pl line 1273, near "Scanners: perlscanner"" (Might be a runaway multi-line "" string starting on line 1263) (Missing semicolon on previous line?) syntax error at /var/qmail/bin/qmail-scanner-queue.pl line 1261, near "/lib/perl5" Execution of /var/qmail/bin/qmail-scanner-queue.pl aborted due to compilation errors. ******* FATAL ERROR ******* ---------- I'm not that experienced with perl but I got it working removing the following lines from qmail-scanner.pl Line 1259 till 1272 ------- #diff qmail-scanner-queue.pl org/qmail-scanner-queue.pl 1259a1260,1272 > Perl: Summary of my perl5 (revision 5.0 version 6 subversion 1) > configuration: > config_args='-sde -Dprefix=/usr/local > -Darchlib=/usr/local/lib/perl5/5.6.1/mach > -Dprivlib=/usr/local/lib/perl5/5.6.1 > -Dman3dir=/usr/local/lib/perl5/5.6.1/man/man3 > -Dsitearch=/usr/local/lib/perl5/site_perl/5.6.1/mach > -Dsitelib=/usr/local/lib/perl5/site_perl/5.6.1 -Ui_malloc > -Ui_iconv > -Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" > -Ui_gdbm -Dusemymalloc=n' cc='cc', ccflags > ='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" > -fno-strict-aliasing -I/usr/local/include', > cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" > -fno-strict-aliasing > -I/usr/local/include'/usr/local/lib/perl5/site_perl/5.6.1/mach/us > r/local/lib/perl5/site_perl/5.6.1/usr/local/lib/perl5/site_perl/5 > .005/i386-freebsd/usr/local/lib/perl5/site_perl/5.005 > /usr/local/lib/perl5/site_perl > /usr/local/lib/perl5/5.6.1/BSDPAN > /usr/local/lib/perl5/5.6.1/mach > /usr/local/lib/perl5/5.6.1 ---------- Then coppied the qmail-scanner.pl to /var/qmail/bin and scanning works great. I also made a translation of the english message to a combined messag english/Dutch wich I send with this email. I'm not complete sure there are no spell errors in it. Greetings Rob Lensen The Netherlands
dutch.tar.gz
Description: Binary data