matador
04-18-2004, 04:35 AM
Hello,
I still have the problem regarding configuring qmail-scanner. Here is the paste.
--BEGIN--
mail# ./configure --admin postmaster --domain mydomain.com --notify admin --local-domains mydomain.com --sa-delete 0
Building Qmail-Scanner 1.20st...
This script will search your system for the virus scanners it knows
about, and will ensure that all external programs
qmail-scanner-queue.pl uses are explicitly pathed for performance
reasons.
It will then generate qmail-scanner-queue.pl - it is up to you to install it
correctly.
Continue? ([Y]/N)
Y
/usr/bin/uudecode works as expected on system...
Found tnef on your system! That means we'll be able to decode stupid
M$ attachments :-)
The following binaries and scanners were found on your system:
mimeunpacker=/usr/local/bin/reformime
uudecode=/usr/bin/uudecode
unzip=/usr/local/bin/unzip
tnef=/usr/local/bin/tnef
Content/Virus Scanners installed on your System
clamuko=/usr/local/bin/clamdscan (which means clamscan won't be used as clamdscan is better)
fast_spamassassin=/usr/local/bin/spamc
Qmail-Scanner details.
log-details=0
fix-mime=1
debug=0
minidebug=1
notify=admin
run-first-p-s=0
redundant-scanning=no
dscr-hdrs-text='X-Qmail-Scanner'
virus-admin=postmaster@mydomain.com
admin-fromname='System Anti-Virus Administrator'
local-domains='mydomain.com'
silent-viruses='klez','bugbear','hybris','yaha','braid',' nimda','tanatos','sobig','winevar','palyh','fizzer ','gibe','cailont','lovelorn','swen','dumaru','sob er','hawaii','holar-i','mimail','poffer','cissy','cissi','qizy','bugle r','dloade','bagle','doom','sco','spam'
scanners="clamuko_scanner","fast_spamassassin"
If that looks correct, I will now generate qmail-scanner-queue.pl
for your system...
Continue? ([Y]/N)
Y
Testing suid nature of /usr/bin/suidperl...
Looks OK...
./configure: line 114: LOCALE_sender_quarantine.orig=
The original message is kept in:
%%hostname:%%scandir/%%vmaildir
where the %%V_FROMNAME can further diagnose it.
The Email scanner reported the following when it scanned that message:
---
%%description
---: No such file or directory
./configure: line 115: export: `LOCALE_sender_quarantine.orig': not a valid identifier
Finished. Please read README(.html) and then go over the script to
check paths/etc, and then "install" as you see fit.
Remember to copy quarantine-attachments.txt to /var/spool/qmailscan and then
run "qmail-scanner-queue.pl -g" to generate DB version.
****** FINAL TEST ******
After installing, please log into an unpriviledged account and run
/var/qmail/bin/qmail-scanner-queue.pl -g
If you see the error "Can't do setuid", or "Permission denied", then
refer to the FAQ.
(e.g. "setuidgid qmaild /var/qmail/bin/qmail-scanner-queue.pl -g")
That's it! To report success:
% (echo 'First M. Last'; cat SYSDEF)|mail jhaar-s4vstats@crom.trimble.co.nz
Replace First M. Last with your name.
--END--
How can I go about fixing this ?
mail# ps auxw | grep spam
root 98436 0.0 8.1 21592 20616 ?? Is 2:30AM 0:00.95 /usr/local/bin/spamd -a -c -d -r /var/run/spamd.pid (perl5.8.2)
root 99344 0.0 0.7 2328 1768 p1 RV 2:34AM 0:00.00 grep spam (csh)
mail# ps auxw | grep clam
qscand 89120 0.0 8.4 21928 21392 ?? Is 2:09AM 0:00.00 /usr/local/sbin/clamd -c /usr/local/etc/clamav.conf
I've made sure both are running.
Thanks,
--Matador
I still have the problem regarding configuring qmail-scanner. Here is the paste.
--BEGIN--
mail# ./configure --admin postmaster --domain mydomain.com --notify admin --local-domains mydomain.com --sa-delete 0
Building Qmail-Scanner 1.20st...
This script will search your system for the virus scanners it knows
about, and will ensure that all external programs
qmail-scanner-queue.pl uses are explicitly pathed for performance
reasons.
It will then generate qmail-scanner-queue.pl - it is up to you to install it
correctly.
Continue? ([Y]/N)
Y
/usr/bin/uudecode works as expected on system...
Found tnef on your system! That means we'll be able to decode stupid
M$ attachments :-)
The following binaries and scanners were found on your system:
mimeunpacker=/usr/local/bin/reformime
uudecode=/usr/bin/uudecode
unzip=/usr/local/bin/unzip
tnef=/usr/local/bin/tnef
Content/Virus Scanners installed on your System
clamuko=/usr/local/bin/clamdscan (which means clamscan won't be used as clamdscan is better)
fast_spamassassin=/usr/local/bin/spamc
Qmail-Scanner details.
log-details=0
fix-mime=1
debug=0
minidebug=1
notify=admin
run-first-p-s=0
redundant-scanning=no
dscr-hdrs-text='X-Qmail-Scanner'
virus-admin=postmaster@mydomain.com
admin-fromname='System Anti-Virus Administrator'
local-domains='mydomain.com'
silent-viruses='klez','bugbear','hybris','yaha','braid',' nimda','tanatos','sobig','winevar','palyh','fizzer ','gibe','cailont','lovelorn','swen','dumaru','sob er','hawaii','holar-i','mimail','poffer','cissy','cissi','qizy','bugle r','dloade','bagle','doom','sco','spam'
scanners="clamuko_scanner","fast_spamassassin"
If that looks correct, I will now generate qmail-scanner-queue.pl
for your system...
Continue? ([Y]/N)
Y
Testing suid nature of /usr/bin/suidperl...
Looks OK...
./configure: line 114: LOCALE_sender_quarantine.orig=
The original message is kept in:
%%hostname:%%scandir/%%vmaildir
where the %%V_FROMNAME can further diagnose it.
The Email scanner reported the following when it scanned that message:
---
%%description
---: No such file or directory
./configure: line 115: export: `LOCALE_sender_quarantine.orig': not a valid identifier
Finished. Please read README(.html) and then go over the script to
check paths/etc, and then "install" as you see fit.
Remember to copy quarantine-attachments.txt to /var/spool/qmailscan and then
run "qmail-scanner-queue.pl -g" to generate DB version.
****** FINAL TEST ******
After installing, please log into an unpriviledged account and run
/var/qmail/bin/qmail-scanner-queue.pl -g
If you see the error "Can't do setuid", or "Permission denied", then
refer to the FAQ.
(e.g. "setuidgid qmaild /var/qmail/bin/qmail-scanner-queue.pl -g")
That's it! To report success:
% (echo 'First M. Last'; cat SYSDEF)|mail jhaar-s4vstats@crom.trimble.co.nz
Replace First M. Last with your name.
--END--
How can I go about fixing this ?
mail# ps auxw | grep spam
root 98436 0.0 8.1 21592 20616 ?? Is 2:30AM 0:00.95 /usr/local/bin/spamd -a -c -d -r /var/run/spamd.pid (perl5.8.2)
root 99344 0.0 0.7 2328 1768 p1 RV 2:34AM 0:00.00 grep spam (csh)
mail# ps auxw | grep clam
qscand 89120 0.0 8.4 21928 21392 ?? Is 2:09AM 0:00.00 /usr/local/sbin/clamd -c /usr/local/etc/clamav.conf
I've made sure both are running.
Thanks,
--Matador