Hi,

This worked except now I'm getting the error:
X-Qmail-Scanner-1.20:[luke107521975046116131] clamuko: corrupt or unknown clamd
scanner error or memory/resource/perms problem - exit status 2
so I'm off in search of the answer to that.

Thanks

Justyn Kemple ([EMAIL PROTECTED]) wrote:
>
>I had the same problem myself actually. Not to sure if its a issue with Slackware
or whatnot. The odd thing is I have used qmail-scanner on a few Slackware boxes and
sometimes it works with qscand owning it and sometimes it doesent. I have heard that
there were a few Slackware Qmail HOWTOs floating around and until I get my hands on
one I have found the only solution is to chmod -R 777 /var/spool/qmailscan. I'd be
intrested if any slackware users found a better option since making that dir world
write gives me the willies.
>
>Justyn
>
>
>Assured Computing <[EMAIL PROTECTED]> wrote:
>Hi,
>
>Sorry, my first reply went to Ryan instead of the list. I'll try it again:
>
>I guess qmail-scanner isn't running as qscand because changing the owner to qscand
>didn't work. ps auxf doesn't show qmail-scanner in the list. How can I tell how
>qmail-scanner is running?
>
>Here is /var/qmail/supervise/qmail-smtpd/run:
>#!/bin/sh
>QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" export QMAILQUEUE
>QMAILDUID=`id -u vpopmail`
>NOFILESGID=`id -g vpopmail`
>MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
>LOCAL=`head -1 /var/qmail/control/me`
>
>if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z "$LOCAL" ]; then
>echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
>echo /var/qmail/supervise/qmail-smtpd/run
>exit 1
>fi
>
>if [ ! -f /var/qmail/control/rcpthosts ]; then
>echo "No /var/qmail/control/rcpthosts!"
>echo "Refusing to start SMTP listener because it will create an open relay"
>exit 1
>fi
>
>exec /usr/local/bin/softlimit -m 15000000 \
>/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb \
>-c "$MAXSMTPD" -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
>/var/qmail/bin/qmail-smtpd luke2.bauercom.net \
>/home/vpopmail/bin/vchkpw /usr/bin/true 2>&1
>
>Thanks
>
>
>Ryan Byrne ([EMAIL PROTECTED]) wrote:
>>
>>On Wed, 2004-01-21 at 15:46, Assured Computing wrote:
>>> Hi,
>>>
>>Your problem is permissioning. when running the
>>qmail-scanner-queue.pl -z you need to make sure you are running it as
>>the user that qmail-scanner-queue.pl will be run as. looking at the user
>>permissions you have in that directory that would be qscand.
>>
>>try
>>
>>chown qscand:qscand qmail-scanner-queue-version.txt
>>chown qscand:qscand quarantine-attachments.db
>>
>>
>>> -rw------- 1 qscand qscand 35828 Jan 15 22:16 qmail-queue.log
>>> -rw------- 1 root root 35 Jan 15 22:16
>qmail-scanner-queue-version.txt
>>> -rw------- 1 qscand qscand 80174 Dec 17 20:56 qmail-scanner-queue.pl
>>> drwxr-xr-x 5 qscand qscand 4096 Dec 17 18:59 quarantine
>>> -rw-r----- 1 root root 12288 Jan 15 22:15 quarantine-attachments.db
>>> -rw------- 1 qscand qscand 4279 Jan 8 17:12 quarantine-attachments.txt
>>> -rw------- 1 qscand qscand 151 Jan 15 19:24 quarantine.log
>>> drwxr-xr-x 2 qscand qscand 4096 Jan 15 19:41 tmp
>>> lrwxrwxrwx 1 qscand qscand 31 Jan 15 19:24 viruses ->
>>> /var/spool/qmailscan/quarantine
>>> lrwxrwxrwx 1 qscand qscand 35 Jan 15 19:24 viruses.log ->
>>> /var/spool/qmailscan/quarantine.log
>>> drwxr-xr-x 5 qscand qscand 4096 Dec 17 18:59 working
>>>
>>
>>
>>I hope this helps,
>>
>>
>>
>>
>>************************************************************************
>>The information contained in this e-mail message and any accompanying files
>>is or may be confidential.If you are not the intended recipient, any use,
>>dissemination, reliance,forwarding, printing or copying of this e-mail or
>>any attached files is unauthorised.This e-mail is subject to copyright. No
>>part of it should be reproduced,adapted or communicated without the written
>>consent of the copyright owner.If you have received this e-mail in error,
>>please advise the sender immediately by return e-mail, or telephone and
>>delete all copies.Fairfax does not guarantee the accuracy or completeness
>>of any information contained in this e-mail or attached files. Internet
>>communications are not secure, therefore Fairfax does not accept legal
>>responsibility for the contents of this message or attached files.
>>************************************************************************
>>
>>
>>
>>-------------------------------------------------------
>>The SF.Net email is sponsored by EclipseCon 2004
>>Premiere Conference on Open Tools Development and Integration
>>See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
>>http://www.eclipsecon.org/osdn
>>_______________________________________________
>>Qmail-scanner-general mailing list
>>[EMAIL PROTECTED]
>>https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
>>
>
>
>
>
>
>-------------------------------------------------------
>The SF.Net email is sponsored by EclipseCon 2004
>Premiere Conference on Open Tools Development and Integration
>See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
>http://www.eclipsecon.org/osdn
>_______________________________________________
>Qmail-scanner-general mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
>
>---------------------------------
>Do you Yahoo!?
>New Yahoo! Photos - easier uploading and sharing

--
Assured Computing
When you need to be sure.
[EMAIL PROTECTED]
www.assuredcomp.com
Eugene, Oregon




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to